Find out error in following programs and give solution to the errors ,i.e correct the errors:
1) print(“enter a name”,name)
2) num1=input(“enter a number”)
num2=num1*2
print(num2)
Answers
Answered by
3
Answer:
(i) System.out.println(“enter a name”,name);
(i) int num1 = in. next Int();
System.out.println(“enter a number");
num2= num1*2
System.out.println(num2);
Explanation:
HOPE IT MIGHT HELPS YOU FRIEND.
Answered by
0
Explanation:
find the error in the following program
Similar questions