Answers for "cpp variables"

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
1

variabvles in c++

#include <iostream>

using namespace std
  
int main{
	int x = 3;
    float g = 4.0;
    long h = 1234567;
    double j = 1237886.099;
    cout<<x<<endl;
    cout<<h<<endl;
    cout<<g<<endl;
    cout<<j<<endl;
}
Posted by: Guest on June-19-2020

Browse Popular Code Answers by Language