+ 3

How its possible ? if i get input from user and its command not show on screen . Only final answer become output

16th Sep 2018, 5:26 AM
Muhammad Tayyab
Muhammad Tayyab - avatar
5 odpowiedzi
0
It's simple answer Just use Console.Clear(); Before display the final answer command.
12th Jan 2019, 9:07 AM
Muhammad Tayyab
Muhammad Tayyab - avatar
+ 3
Can you give a little example what input, command and output (final answer)? I don't really understand what you mean.
16th Sep 2018, 8:17 AM
Ipang
+ 1
You can achieve it by getting screen cleared after user input and before displaying final answer.
20th Oct 2018, 6:42 AM
🇵🇰 Danish Khan 🇵🇰
🇵🇰 Danish Khan 🇵🇰 - avatar
0
Yeah! You'll will use this function either. But this will only clear the screen explicitly. Which is tantamount to treacherous output. Not Really Logically...
12th Jan 2019, 9:40 AM
Wajahat Khan
Wajahat Khan - avatar
- 1
It's possible using getch function, which is define in the header file of conio.h. Although, it'll take single character, but you can use array and loops for such code.
12th Jan 2019, 8:56 AM
Wajahat Khan
Wajahat Khan - avatar