222k views
4 votes
Hattie uses the line of code num == 7 to assign the number 7 to the variable named num. What correction should be made?

User MikeW
by
6.4k points

2 Answers

7 votes

Answer:

Its change == to =

the guy up there is right but was not spefic hope it helps

Step-by-step explanation:

User Karega
by
5.9k points
1 vote
If this is C o C++ it should be num=7
User Wfarr
by
6.2k points