thespeedracer38

Biryani

Jan 3rd, 2020
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.38 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main() {
  5.     char* items[] = { "Chicken Biryani", "Chicken Chap", "Mutton Biryani"};
  6.     double prices[] = { 80, 50, 110 };
  7.    
  8.     printf("%-20s %-10s \n", "MENU ITEM", "PRICE");
  9.     printf("%-20s Rs.%6.2lf \n", items[0], prices[0]);
  10.     printf("%-20s Rs.%6.2lf \n", items[1], prices[1]);
  11.     printf("%-20s Rs.%6.2lf \n", items[2], prices[2]);
  12.     return 0;
  13. }
Add Comment
Please, Sign In to add comment