+ 3
Please help me in c language coding , i coded in mobile but i didn't get result as i have gotten in laptop.
9 ответов
+ 5
When you press Run it asks you to enter the input, it means the data u want to type in, when u see the message just type the numbers separated with space and then press Submit.
Its weird to me too i prefer coding in PC, that way of submiting input its really bad.
+ 2
Share the link here of your code in playground, ppl cant help u without it
+ 2
Try this 👇👇
#include <stdio.h>
int main()
{
float a,b;
printf ("\nEnter value of a,b:");
scanf ("%f%f",&a,&b);
printf ("\naddition=%f", a+b);
return 0;
}
+ 1
Bro , I have mentioned now my simple c language coding , now could you help
+ 1
It does run properly as it should here in sololearn, u right but what output or error message you get in ur PC?
+ 1
Thank you bro , now I understand .
0
Bro , I have made this Codding for addition in which you have to put the value of a and b , then the answer will be shown c , in pc when I run this code in dev c++ , I saw the output that is really should be , but in mobile when I am willing to do so , here only giving output of printf function and no option to input some values of a and b , and you know without putting value of a and b , how can I calculate value of c . That's my problem .
0
Your idea is working
0
Bro , I have now no any problem , my coding is also correct no any error was there,only I don't have understanding on that time 😂😂😂 , if I'll meet with any problem any more , I'll contact to you through message , thanks a lot !