Write a C++ program that displays a message and values of Integer and character variables.



 #include<iostream>

using namespace std;

int main()

{

int n = 10;

char ch = '*';

cout<<"Testing Output...";

cout<<n;

cout<<ch;

}

OUTPUT

Testing Output...10*

No comments:

Post a Comment