C++ Tutorial Tutorial 1
#include <iostream> using namespace std ; int main (){ int a = 10 ; int b = 20 ; float a1 = 100.9 ; double b1 = 189.90 ; char name = 'c' ; bool is_true = true ; cout << "Hello World \n " << ". This is the value of integer = \n " << a << ". and this is a value of float= \n " << a1 ; cout << "The char i stored in name is \n " << name ; cout << "The value is \n " << is_true ; bool is_false = false ; cout << "The bool is \n " << is_false ; return 0 ; }
Comments
Post a Comment