practtice questions2

Run Settings
LanguageC++
Language Version
Run Command
#include <iostream> using namespace std; int main() { cout << "Hello World!"; return 0; }
// C++ Program to Swap Two Numbers #include<iostream> using namespace std; int main() { int a=5, b=4,temp; temp=a; a=b; b=temp; cout<<"a ="<<a<<endl; cout<<"b ="<<b<<endl; return 0; }
// C++ Program to Find ASCII Value of a Character #include <iostream> using namespace std; int main () { char a=75; cout<<a; }
// C++ Program to Multiply two Numbers #include <iostream> using namespace std; int main() { int a=20,b=12,c; c=a*b; cout<<"Multiplication of a & b is "<<c<<endl; return 0; }
Editor Settings
Theme
Key bindings
Full width
Lines