How do I implement user inputs in classes in my c++ code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do I implement user inputs in classes in my c++ code

I am writing a code that calculates gross income using classes but I can't figure out how to implement user input to collect the income of the user

22nd May 2020, 7:28 AM
grateful nnamani
grateful nnamani - avatar
1 Answer
+ 1
There are several ways depending on what types you're working with and what you're doing, but this should get you started. https://www.sololearn.com/learn/CPlusPlus/1607/
22nd May 2020, 8:19 AM
ChaoticDawg
ChaoticDawg - avatar