#include<stdio.h>
int main(){
printf("Enter the number of pages\n");
int pages;
scanf("%d", &pages);
printf("Enter the no. of print out copies\n");
int print_pages;
scanf("%d", &print_pages);
float total = pages * 3 + print_pages * 5;
printf("The bill is: %f", total);
}
Comments
Leave a comment