0
Having a issue
#include <stdio.h> int main() { printf("Product: %s\n", "LCD Monitor"); printf("Price: %.6f\n", 49.95); return 0; } My answer is same as the expected answer but still it's not working for me .
2 Answers
+ 3
Baljeet Singhnarde don't specify the float precision and don't add the 2nd newline.This code passed the test.
#include <stdio.h>
int main() {
printf("Product: %s \n", "LCD Monitor");
printf("Price: %f", 49.95);
return 0;
}
0
Actually the output coincide with the expected result but still sololearn is displaying that my answer is wrong đ