R
R
raycheel2015-04-21 23:04:43
C++ / C#
raycheel, 2015-04-21 23:04:43

How to format data input?

Is it possible to show kg at the end when entering data in scanf, or see
How to make such a data entry format?
Those. does the user enter data, such as mass, and is the unit always written next to it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
jcmvbkbc, 2015-04-21
@raycheel

Is it possible, when entering data in scanf, to show at the end kg or cm.

No.

D
deleted-StrangerInRed, 2015-04-29
@deleted-StrangerInRed

It's possible, but rather annoying. Through ncurses and two windows for example.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question