Answer to Question #15867 in C++ for abdulla

Question #15867
How can I write a C++ program that asks the to user enter the time in seconds??
1
Expert's answer
2012-10-05T08:12:59-0400
#include <string>
#include <iostream>
using namespace std;



int main()
{
float t;
cout<<"Enter& the time in seconds:& ";
cin>>t;

cout<<"\n\n";
system("PAUSE");
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS