0

Assignment : • A,b,c are variables of type int while d, e f and g are of type float. • If a= 4, b = 6 and c -3, Find • d=3a

assessment

7th Feb 2017, 7:31 AM
Nartey Amos Adamtey
Nartey Amos Adamtey - avatar
2 Réponses
+ 2
#C++ void main { int a=4,b=6,c=-3,d; d=float(3*a) }
7th Feb 2017, 8:49 AM
Vishnu K T
Vishnu K T - avatar
0
#Python: a = 4 b = 6 c = -3 d = float(3*a) #This is what you want ?
7th Feb 2017, 7:54 AM
Ladislav Milunović
Ladislav Milunović - avatar