a=2;b=3;c= Find the value of X In all the sentences, as follows X=a*b*a-(b+c/a) X=a mod 100 X=a mod b mod c X= c*c*b\2 + 5 | Sololearn: Learn to code for FREE!

0

 a=2;b=3;c= Find the value of X In all the sentences, as follows X=a*b*a-(b+c/a) X=a mod 100 X=a mod b mod c X= c*c*b\2 + 5

.

.

4/1/2021 6:20:18 PM

Mohammad _ 97 Alawneh

5 Answers

New Answer

+2

in c language u can get X value for each instruction like this 🤷‍♂️ : #include <stdio.h> int main() {  int a=2,b=3,c=2; //set C value float X; X=a*b*a-(b+c/a); printf("\nX=%f",X); X=a%100; printf("\nX=%f",X); X=a%b%c; printf("\nX=%f",X); X= c*c*b/2 + 5; printf("\nX=%f",X); return 0; }

+1

I think you have posted your assignment unknowingly. And c = ? question is not clear. language isn't mentioned.

0

I'm sorry part of the question was missing, ha ha the right question

0

a=2;b=3;c=1 value of X In all the sentences, as X=a*b*a-(b+c/a) X=a mod 100 X=a mod b mod c X= c*c*b\2 + 5 X= b/(b-(c-1)) X =36758 mod 10 X= b/b mod c X=b+a+c\2

0

like this ? #include <stdio.h> int main() {  int a=2,b=3,c=1; float X; X=a*b*a-(b+c/a); printf("\nX=%f",X); X=a%100; printf("\nX=%f",X); X=a%b%c; printf("\nX=%f",X); X= c*c*b/2 + 5; printf("\nX=%f",X); X= b/(b-(c-1)); printf("\nX=%f",X); X =36758 % 10; printf("\nX=%f",X); X= b/b % c; printf("\nX=%f",X); X=b+a+c/2; printf("\nX=%f",X); return 0; } result : X=9.000000 X=2.000000 X=0.000000 X=6.000000 X=1.000000 X=8.000000 X=0.000000 X=5.000000