Question: 1)the following program is run , and the user types in the input 42 . at the end of the program , how many variables
1)the following program is run , and the user types in the input 42 . at the end of the program , how many variables are floating point numbers ?
s= imput()
a=int(s)
b=12.3
c= a/b
a. 4
b.2
c. 0
d.1
e.3
2)the following program is run , and the user types in the input 42 . at the end of the program , how many variables are floating point numbers ?
s= imput()
a=int(s)
b=123
c= a/b
a. 4
b.2
c. 0
d.1
e.3
3)the following program is run , and the user types in the input 42 . at the end of the program , how many variables are floating point numbers ?
s= imput()
a=int(s)
b=123
c= a//b
a. 4
b.2
c. 0
d.1
e.3
is input for s=input()
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
