Answers for "cpp variable []"

C++
7

C++ Variable

#include <iostream>
using namespace std;
int main(){
	
int number = 1;              
double decimal = 6.9;    
char characterx = 'i';   
string text ="Sup";     
bool boolean = true;      

return 0;
}
Posted by: Guest on May-22-2021
0

C++ variables

Create a variable called myNum of type int and assign it the value 15:
  int myNum = 15;
cout << myNum;
Posted by: Guest on May-07-2021

Browse Popular Code Answers by Language