0
Help using c++ #C++
Create a timer program that will take the number of seconds as input, output the remaining time and countdown to 0. You need to output every number, including 0. Sample Input 5 Sample Input 5 4 3 2 1 0
4 Réponses
+ 2
Ankita Malik ,
you are showing a really nice code to help someone solving a task. we all appreciate this very much!
(this is my personal statement - but it is not to criticize someone !!)
but there is an issue by giving a ready-made solution, when the op has not done and shown his attempt first.
as a part of the community i believe that learning by doing is more helpful, than just using a shared solution. we should act more as a mentor.
it is a very successful way when we are giving hints and help, so that the op is able to solve his task by himself. it would be great if you are going to help us to keep sololearn what it is:
▪︎a unique place to learn (we are a "self" learning platform!)
▪︎an absolutely great community that is willing to help other people
▪︎a great resource of people which has an unbelievable knowledge in coding and a long lasting experience
▪︎a place to meet people and to discuss with them all the possible points of view
thanks for your understanding
+ 1
Show your attempt First.....
https://www.sololearn.com/discuss/1316935/?ref=app
+ 1
HrCoder ,
Ohh actually I'm new here 😶! I opened the community section and found this question . Then I answered ! I didn't know about the rules sorry 👀
0
Int i,j;
Printf("Enter the number of seconds :");
scanf("%d",j);
for (i=j; i<=0; i++){
Printf("remaining time" , i);
}