Skip to content

Commit dd140e0

Browse files
authored
Update calculator.c
1 parent cf015d9 commit dd140e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

calculator.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ int main()
3535
break;
3636
case '%':
3737
a=(int)y%(int)z;
38-
printf("The percentage is: %f\n", x);
38+
printf("The percentage is: \n", x);
3939
break;
4040
default:
4141
printf("Your response was invalid. Please try again.");

0 commit comments

Comments
 (0)