0

num___; num___42; please solve this

Solve this

31st Jul 2022, 7:36 AM
mhk creation
mhk creation - avatar
2 Answers
+ 2
This look like course question? Every course question is about things you learned right before, so check lections again. If you really stuck please tell us language, number of course, so we can help you to solve this and explain to you why is this solution.
31st Jul 2022, 9:12 AM
PanicS
PanicS - avatar
+ 1
mhk creation The question in C looks like this. ___ num; num __ 42; The previous lessons dealing variables discuss data types, and how to assign values to variables. Looking @ your question, we note that 42 is a whole number, so it is an int, not a float or a double, or a char. So now you can assign your data type to the variable ___ num; //<- assign data type Then you must assign a value to the variable. num __ 42; // How do you make num equal to 42? Give it a go, and review your lessons
31st Jul 2022, 10:04 AM
Rik Wittkopp
Rik Wittkopp - avatar