ANSWER for โ๏ธ๐๐ฟhttps://t.me/PROGRAMINGLANGUAGES1/162
#include <iostream>
using namespace std;
int main()
{
int x;
cout << "inter time elapsed in second:" << endl;
cin >> x ;
int m = x/3600;
x = x% 3600;
int n = x/60 ;
x = x% 60;
int p = x;
cout << m <<"hours" <<":"<< n <<"minutes"<<":" << p <<"seconds!"<< endl;
return 0;
}
#include <iostream>
using namespace std;
int main()
{
int x;
cout << "inter time elapsed in second:" << endl;
cin >> x ;
int m = x/3600;
x = x% 3600;
int n = x/60 ;
x = x% 60;
int p = x;
cout << m <<"hours" <<":"<< n <<"minutes"<<":" << p <<"seconds!"<< endl;
return 0;
}
Telegram
LEARN TO CODE
#QUESTION TO ANSWER IN C++
Write a program that prompts a user to enter the number of second elapsed for an event and converts this to m hours, n minute and p seconds. For example if the user enter 7840, the program display 2:10:40.
THE ANSWER IS LOADING....โฆ
Write a program that prompts a user to enter the number of second elapsed for an event and converts this to m hours, n minute and p seconds. For example if the user enter 7840, the program display 2:10:40.
THE ANSWER IS LOADING....โฆ
๐2
image_2022-01-15_11-24-13.png
142.8 KB
๐6๐2
#more materials to study especially for IS & CS courses๐
๐๐ฟ๐https://t.me/PROGRAMINGLANGUAGES1
๐๐ฟ๐https://t.me/PROGRAMINGLANGUAGES1
๐2
learnToCode.@telegram channel.pdf
577.7 KB
c++ exam of HU๐๐
credit :-<topStudents>
compiled by :- <LearnToCode>
credit :-<topStudents>
compiled by :- <LearnToCode>
โค1๐1
For java learners, these materials helps you alot.
all materials for coding,
@ https://t.me/PROGRAMINGLANGUAGES1
all materials for coding,
@ https://t.me/PROGRAMINGLANGUAGES1
๐1๐ฅ1
