// stt.cpp : Defines the entry point for the console application
#include "stdafx.h"
#include
using namespace std;
int main()
{
int a, b;
float c;
cout << "Enter an integer: ";
cin >> a;
cout <<"\n";
cout << "Enter another integer: ";
cin >> b;
cout <<"\n";
cout << "Enter a number with decimal: ";
cin >> c;
cout <<"\n";
cout << "You entered " << a << ", " << b << ", and " << c << endl;
cout <<"\n";
system ("PAUSE");
}
No comments:
Post a Comment