#include <stdio.h>
#include <conio.h>
#include <iostream.h>
int main(int argc, char *argv[])
{
const int x =10;
const char stala = 128;
char s;
int a,b,c,znak;
cout<<"Podaj a ";
cin>>a;
cout<<"\n";
cout<<"Podaj b ";
cin>>b;
cout<<"\n";
c = a + b;
cout<<c<<"\n";
cout<<"Podaj numer w kodzie ASCII";
cin>>znak;
s=znak;
cout<<s;
getch();
return 0;
}
#include <stdio.h>
#include <conio.h>
#include <iostream.h>
int main(int argc, char *argv[])
{
const int x =10;
const char stala = 128;
char s;
int a,b,c,znak;
cout<<"Podaj a ";
cin>>a;
cout<<"\n";
cout<<"Podaj b ";
cin>>b;
cout<<"\n";
c = a + b;
cout<<c<<"\n";
cout<<"Podaj numer kodu ASCII";
cin>>znak;
s=znak;
cout<<s;
getch();
return 0;
}
#include <stdio.h>
#include <conio.h>
#include <iostream.h>
int main(int argc, char *argv[])
{
const int x =10;
const char stala = 128;
char s;
int a,b,c,znak;
cout<<"Podaj a ";
cin>>a;
cout<<"\n";
cout<<"Podaj b ";
cin>>b;
cout<<"\n";
c = a + b;
cout<<c<<"\n";
cout<<"Podaj numer w kodzie ASCII";
cin>>znak;
s=znak;
cout<<s;
getch();
return 0;
}