// Zeinalipour-Yazti Demetrios // csyiazti // cs10xx - // Lab Sec#24 // lab1 /* Simple "Funny Sentence Program" The program asks the user to enter a name (first name only), a character, an integer, and a floating-point value. Then your program prints out a funny sentence that uses all this info. For example, if the user entered, "Sally", 'g', 12, and 62.43, it returns: "Sally says g 12 times in 62.43 seconds." */ #include #include using namespace std; void main() { /* These variables will hold the three values entered by the user */ int i; float f; char c; string s; cout << "Please enter a string: "; cin >> s; cout << "Please type in a character: "; cin >> c; cout << "Please type in an integer: "; cin >> i; cout << "Please type in a float: "; cin >> f; cout << s << " says " << c << " "<< i << " times in " << f << " seconds." << endl; }