+ 2
Can anyone solve this the problem is in the formula
#include <stdio.h> int main() { float length,width,perimeter; printf("enter length of the rectangular"); scanf("%f",&length); printf("enter length of the rectangular"); scanf("%f",&width); perimeter = 2 ^ (length + width); printf("perimeter of rectangular is %f unit",perimeter); return 0; }
6 Antworten
+ 2
Use "*" this multiplication symbol to calculate the perimeter
perimeter = 2* (length+width)
+ 1
Rahul Nayak
Why not it working? Can you Share more details with sharing link of your saved update code, along with your trouble, your output and expected output.. !!!
+ 1
https://code.sololearn.com/cRtGvnGNkyQQ/?ref=app
It's working properly.
0
No sir it's not working
0
Yeah it works thanks d
0
soltar código