#include <stdio.h>
int Plan_A_Gigabytes;
int main()
{
scanf ("%d", &Plan_A_Gigabytes);
int coste_Plan_A=10+(2*Plan_A_Gigabytes);
printf ("Plan A: %d\n", coste_Plan_A);
printf ("Plan B: %d\n", 24);
int comparation=(coste_Plan_A<24);
printf ("Plan A is cheaper: %d\n", comparation);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: