0

Help me solve this Pls

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+ -ac f=d/a e=f+2c g=f/e

2nd Feb 2017, 5:27 PM
grace barnoh
grace barnoh - avatar
5 Respostas
+ 2
You forgot that: if (condition) { //your code }
2nd Feb 2017, 5:30 PM
Ali Emir Kızıl
Ali Emir Kızıl - avatar
+ 2
You need to type cast Int into Float for that just write like this d = (float)3a-ac; f = (float)d/a; and soon
2nd Feb 2017, 5:34 PM
Arpan Lunawat
Arpan Lunawat - avatar
0
K tnx But can you fix the quest in this statement???
2nd Feb 2017, 5:34 PM
grace barnoh
grace barnoh - avatar
0
Pls I'm a beginner so how do I write this??? Where do I start from and where do I end??
2nd Feb 2017, 5:37 PM
grace barnoh
grace barnoh - avatar
0
I need help plssss
3rd Feb 2017, 7:12 AM
grace barnoh
grace barnoh - avatar