Tuesday, 3 July 2018

how to declare a variable and assinge value to it


 Write a programm that store three values in integer type of variables and display it 


   solution

#include <iostream>
using namespace std;

int main() {
int a=22;
int b=33;
int c= 44;
cout<<a<<"\t"<<b<<"\t"<<c;

return 0;
}

No comments:

Post a Comment