9 January 2020, 1:26 pm by antelove19

Cpp programming language
Happy Coding
main.cpp
/* ------------------------------------------------------------ */
/* Variable */
/* Using Variables with various of type data */
/* */
/* Author: antelove */
/* Website: antelove.com */
/* ------------------------------------------------------------ */
#include <iostream> // standar input output library
using namespace std;
int main()
{
char myChar = 'a';
int myInt = 10;
float myFloat = 10.010f;
float myDouble = 20.020;
cout << "This is using char: " << myChar << endl;
cout << "This is using integer: " << myInt << endl;
cout << "This is using float: " << myFloat << endl;
cout << "This is using double: " << myDouble << endl;
return 0;
}