fork download
#include <stdio.h>
void camera();
void processor();
void display();
void battery();
void combo();
void exit();
void main()
{
    int choice;
    printf("IMMORTAL INITIATORS\n");
    printf("\nPlease pick your Specification:\n");
    printf("1.Camera\t2.Processor\t3.Display\t4.Battery\n");
    printf("5.Combination of these Specs\t6.Exit\n");
    scanf("%d",&choice);
    switch(choice)
    {
        case 1:camera();
        break;
        case 2:processor();
        break;
        case 3:display();
        break;
        case 4:battery();
        break;
        case 5:combo();
        break;
        case 6:exit(0);
        break;
        default :
        printf("\nError\n");
        break;
    }
}
void camera()
{
    int spec1;
    printf("Select your Camera MegaPixel:\n ");
    printf("\n1.48MP\t2.50MP\t3.64MP\t4.108MP\t5.Exit\n");
    scanf("%d",&spec1);
    switch(spec1)
    {
        case 1:
        printf("\n Apple iPhone 15 Pro Max\n");
        printf(" Rear Camera :        48MP + 12MP + 12MP\n");
        printf(" Front Camera :       12MP\n");
        printf(" Processor :          A17 Pro Chip\n");
        printf(" Dimensions :         159.90 x 76.70 x 8.25\n");
        printf(" Display Resolution : 1290x2796 pixels\n");
        printf(" Battery :            Li-Ion 4441 mAh\n");
        printf(" Price :              256GB 8GB RAM-₹148,900\n");
        printf(" Price :              512GB 8GB RAM-₹179,900\n");
        printf(" Price :              1TB 8GB RAM-₹199,900\n");
        printf(" \nApple iPhone 14 Pro Max\n");
        printf(" Rear Camera :       48MP + 12MP + 12MP\n");
        printf(" Front Camera :       12MP\n");
        printf(" Processor :          A16 Bionic Chip\n");
        printf(" Dimensions :         160.7 x 77.6 x 7.9 mm\n");
        printf(" Display Resolution : 1290 x 2796 pixels\n");
        printf(" Battery :            Li-Ion 4323 mAh\n");
        printf(" Price :              128GB 6GB RAM-₹134,900\n");
        printf(" Price :              256GB 6GB RAM-₹144,900\n");
        printf(" Price :              512GB 6GB RAM-₹164,900\n");
        printf(" Price :              1TB 6GB RAM-₹184,900\n");
        printf("\n Asus ROG Phone II ZS660KL\n");
        printf("\nRear Camera :       48MP + 13MP\n");
        printf(" Front Camera :       24MP\n");
        printf(" Processor :          Qualcomm Snapdragon 855 Plus\n");
        printf(" Dimensions :         171 x 77.6 x 9.5 mm\n");
        printf(" Display Resolution : 1080 x 2340 pixels\n");
        printf(" Battery :            Li-Po 6000 mAh\n");
        printf(" Price :              128GB 8GB RAM-₹40,999\n");
        printf(" Price :              512GB 12GB RAM-₹62,999\n");
        break;
        case 2:
        printf("\n Google Pixel 8 Pro\n");
        printf("\nRear Camera :       50MP + 48MP + 48MP\n");
        printf(" Front Camera :       10.5MP\n");
        printf(" Processor :          Google Tensor G3\n");
        printf(" Dimensions :         162.6 x 76.5 x 8.8 mm\n");
        printf(" Display Resolution : 1344 x 2992 pixels\n");
        printf(" Battery :            Li-Ion 5050 mAh\n");
        printf(" Price :              128GB 12GB RAM-₹106,999\n");
        printf(" Price :              256GB 12GB RAM-₹113,999\n");
        printf("\n Vivo X100\n");
        printf("\nRear Camera :       50MP + 50MP + 50MP\n");
        printf(" Front Camera :       32MP\n");
        printf(" Processor :          Mediatek Dimensity 9300\n");
        printf(" Dimensions :         164.1 x 75.2 x 8.5 mm\n");
        printf(" Display Resolution : 1260 x 2800 pixels\n");
        printf(" Battery :            Li-Ion 5000 mAh\n");
        printf(" Price :              256GB 12GB RAM-₹69,999\n");
        printf(" Price :              512GB 16GB RAM-₹96,999\n");
        printf("\nXiaomi 14 Ultra\n");
        printf("\nRear Camera :       50MP + 50MP + 50MP + 50MP\n");
        printf(" Front Camera :       32MP\n");
        printf(" Processor :          Qualcomm SM8650-ABSnapdragon 8Gen3\n");
        printf(" Dimensions :         161.4 x 75.3 x 9.2 mm\n");
        printf(" Display Resolution : 1440 x 3200 pixels\n");
        printf(" Battery :            5000 mAh\n");
        printf(" Price :              512GB 16GB-₹119,999\n");
        break;
        case 3:
        printf("\n OnePlus 12\n");
        printf("\nRear Camera :       64MP\n");
        printf(" Front Camera :       32MP\n");
        printf(" Processor :          Qualcomm SM8650-AB Snapdragon 8Gen3\n");
        printf(" Dimensions :         164.3 x 75.8 x 9.2 mm\n");
        printf(" Display Resolution : 1440 x 3168 pixels\n");
        printf(" Battery :            Li-Po 5400 mAh\n");
        printf(" Price :              256GB 12GB RAM-₹64,999\n");
        printf(" Price :              512GB 16GB RAMM-₹69,999\n");
        printf("\n ASUS ROG 5s Pro\n");
        printf("\nRear Camera :       64MP + 13MP + 5MP\n");
        printf(" Front Camera :       24MP\n");
        printf(" Processor :          Qualcomm SM8350 Snapdragon 888 5G\n");
        printf(" Dimensions :         172.8 x 77.3 x 10.3 mm\n");
        printf(" Display Resolution : 1080 x 2448 pixels\n");
        printf(" Battery :            Li-Po 6000 mAh\n");
        printf(" Price :              \n");
        printf(" Price :              256GB 12GB RAM-₹63,999\n");
        printf(" Price :              512GB 18GB RAM-₹85,999\n");
        printf("\n Google Pixel 7a\n");
        printf("\nRear Camera :       64MP (OIS) + 13MP\n");
        printf(" Front Camera :       13MP\n");
        printf(" Processor :          Google Tensor G2\n");
        printf(" Dimensions :         152 x 72.9 x 9 mm\n");
        printf(" Display Resolution : 1080 x 2400 pixels\n");
        printf(" Battery :            Li-Po 4385 mAh\n");
        printf(" Price :              128GB 8GB RAM-₹43,999\n");
        break;
        case 4:
        printf("\n SAMSUNG Galaxy S22 ultra 5G\n");
        printf("\nRear Camera :       108MP + 10MP + 10MP + 12MP\n");
        printf(" Front Camera :       40MP\n");
        printf(" Processor :          Qualcomm SM8450 Snapdragon 8Gen1\n");
        printf(" Dimensions :         163.3 x 77.9 x 8.9 mm\n");
        printf(" Display Resolution : 1440 x 3088 pixels\n");
        printf(" Battery :            Li-Ion 5000 mAh\n");
        printf(" Price :              256GB 12GB RAM-₹72,229\n");
        printf(" Price :              512GB 12GB RAM-₹78,999\n");
        printf("\n Vivo V23 Pro\n");
        printf("\nRear Camera :       108MP + 8MP + 2MP\n");
        printf(" Front Camera :       50MP + 8MP Dual\n");
        printf(" Processor :          Mediatek Dimensity 1200\n");
        printf(" Dimensions :         159.5 x 73.3 x 7.4 mm\n");
        printf(" Display Resolution : 1080 x 2376 pixels\n");
        printf(" Battery :            4300 mAh\n");
        printf(" Price :              128GB 8GB RAM-₹41,990\n");
        printf(" Price :              256GB 12GB RAM-₹45,990\n");
        printf("\n Xiaomi 11T Pro 5G\n");
        printf("\nRear Camera :       108MP + 8MP + 5MP\n");
        printf(" Front Camera :       16MP\n");
        printf(" Processor :          Qualcomm SM8350 Snapdragon 888 5G\n");
        printf(" Dimensions :         164.1 x 76.9 x 8.8 mm\n");
        printf(" Display Resolution : 1080 x 2460 pixels\n");
        printf(" Battery :            Li-Po 5000 mAh\n");
        printf(" Price :              256GB 12GB RAM₹-54,999\n");
        break;
        case 5: exit(0);
        break;
        default:
        printf("\nError\n");
        break;
    }
}
void processor()
{
int spec3;
printf("please select the processor:\n");
printf("1.MediaTek\t2.Snapdragon\t3.Exit\n");
scanf("%d",&spec3);

switch (spec3)
   {
    case 1:
        printf("\n Vivo iqoo12\n");
        printf("Processor         : MediaTek Dimensity 9300\n");
        printf("Refresh Rate      : 144Hz\n");
        printf("Screen Resolution : 1260 x 2800 pixels\n");
        printf("CPU and GPU       : Octa-core (Mali-G720 MP12)\n");
        printf("Dimensions        : 163.2 x 75.9 x 8.1 mm\n");
        printf("Battery           : 5000 mAh\n");
        printf("Price             : $596.79 (256GB + 12GB RAM)\n");
        printf("                  : ₹52,999 (256GB + 12GB RAM)\n");
        printf("\nredmi k60 ultra\n");
        printf("Processor         : MediaTek Dimensity 9200 Plus\n");
        printf("Refresh Rate      : 92Hz\n");
        printf("Screen Resolution : 1080 x 2400 pixels\n");
        printf("Display type      : AMOLED\n");
        printf("Dimensions        : 160.6 x 73.9 x 8.4 mm\n");
        printf("Battery           : 4500 mAh\n");
        printf("Price             : $399.99 (128GB + 8GB RAM)\n");
        printf("                  : ₹29,999 (128GB + 8GB RAM)\n");
        break;

    case 2:
        printf("\nsamsung galaxy s21\n");
        printf("Processor         : Qualcomm Snapdragon 888\n");
        printf("Refresh Rate      : 144Hz\n");
        printf("Screen Resolution : 1260 x 2800 pixels\n");
        printf("CPU and GPU       : Octa-core (Adreno 750)\n");
        printf("Dimensions        : 163.2 x 75.9 x 8.1 mm\n");
        printf("Battery           : 5000 mAh\n");
        printf("Price             : $596.99 (512GB + 16GB RAM)\n");
        printf("                  : ₹57,999 (512GB + 16GB RAM)\n");
        printf("\nsamsung galaxy s22 ultra\n");
        printf("Processor         : Qualcomm Snapdragon 888 Plus\n");
        printf("Refresh Rate      : 144Hz\n");
        printf("Screen Resolution : 1080 x 2400 pixels\n");
        printf("Display type      : AMOLED\n");
        printf("Dimensions        : 160.6 x 73.9 x 8.4 mm\n");
        printf("Battery           : 4500 mAh\n");
        printf("Price             : $699.99 (256GB + 12GB RAM)\n");
        printf("                  : ₹49,999 (256GB + 12GB RAM)\n");
        break;
        case 3: exit(0);
        break;
        default :
        printf("Error\n");
        break;
    }
}
void battery()
{
int spec4;
printf("please select the Battery Capacity:\n");
printf("1.4000-4999\t2.5000-5999\t3.Above 6000\t4.Exit\n");
scanf("%d",&spec4);
switch(spec4)
{
case 1:
printf("\n Nothing Phone (2)\n");
printf(" Battery Type      : Li-Ion\n");
printf(" Capacity          : 4700 mAh\n");
printf(" Wired Charging    : 45W wired\n");
printf(" Wireless Charging : 15W wireless\n");
printf(" Dimensions        : 162.1 x 76.4 x 8.6 mm\n");
printf(" Display           : LTPO OLED\n");
printf(" Price             : 256GB 12GB RAM-₹39,499\n");
printf(" Price             : 512GB 12GB RAM	$ 727.00\n");
printf(" Price             : 128GB 8GB RAM	₹ 34,499\n");
printf("\n Oppo Reno11 Pro\n");
printf(" Battery Type      : Li-Po\n");
printf(" Capacity          : 4600 mAh\n");
printf(" Wired Charging    : 80W wired\n");
printf(" Wireless Charging : NOT AVAILABLE\n");
printf(" Dimesions         : 162.4 x 74.1 x 7.6 mm\n");
printf(" Display           : AMOLED\n");
printf(" Price             : 256GB 12GB RAM	₹ 35,999\n");
break;
case 2:
printf("\n SAMSUNG Galaxy S24 Ultra\n");
printf(" Battery Type      : Li-Ion \n");
printf(" Capacity          : 5000 mAh\n");
printf(" Wired Charging    : 45W wired\n");
printf(" Wireless Charging : 15W wireless \n");
printf(" Dimensions        : 162.3 x 79 x 8.6 mm\n");
printf(" Display           : Dynamic LTPO AMOLED 2X\n");
printf(" Price             : 256GB 12GB RAM-₹ 112,290\n");
printf(" Price             : 512GB 12GB RAM-₹ 123,999\n");
printf(" Price             : 1TB 12GB RAM-$ 1,495.00\n");
printf("\n OnePlus Nord 3\n");
printf(" Battery Type      : Li-Po \n");
printf(" Capacity          : 5000 mAh\n");
printf(" Wired Charging    : 80W wired\n");
printf(" Wireless Charging : NOT AVAILABLE\n");
printf(" Dimensions        : 162 x 75.1 x 8.2 mm\n");
printf(" Display           : Fluid AMOLED\n");
printf(" Price             : 256GB 16GB RAM	€ 317.00\n");
printf(" Price             : 128GB 8GB RAM	₹ 25,499\n");
break;
case 3:
printf("\n Asus ROG Phone 6 Pro\n");
printf(" Battery Type      : Li-Po\n");
printf(" Capacity          : 6000 mAh\n");
printf(" Wired Charging    : 65W wired\n");
printf(" Wireless Charging : NOT AVAILABLE\n");
printf(" Dimensions        : 173 x 77 x 10.3 mm\n");
printf(" Display           : AMOLED\n");
printf(" Price             : 512GB 18GB RAM-C$2,199\n");
printf("\n ASUS ROG Phone 5 Ultimate\n");
printf(" Battery Type      : Li-Po \n");
printf(" Capacity          : 6000 mAh\n");
printf(" Wired Charging    : 65W wired\n");
printf(" Wireless Charging : NOT AVAILABLE\n");
printf(" Dimensions        : 172.8 x 77.3 x 10.3 mm\n");
printf(" Display           : AMOLED\n");
printf(" Price             : 512GB 18GB RAM-₹85,999\n");
break;
case 4: exit(0);
break;
default :
printf("Error");
break;
}
}
void combo()
{
printf("\nBest Mobiles with Max Specifications:\n");
printf("\n Vivo X100 Pro\n");
printf(" Rear Camera  : 50MP + 50MP + 50MP\n");
printf(" Front Camera : 32MP\n");
printf(" Display      : LTPO AMOLED\n");
printf(" Processor    : Mediatek Dimensity 9300\n");
printf(" Dimensions   : 164.1 x 75.3 x 8.9 mm\n");
printf(" Battery      : Li-Ion 5400 mAh\n");
printf(" Resolution   : 1260 x 2800 pixels\n");
printf(" Price        : 512GB 16GB RAM-₹96,999\n");
printf("\n OnePlus 12\n");
printf(" Rear Camera  : 64MP\n");
printf(" Front Camera : 32MP\n");
printf(" Display      : LTPO AMOLED\n");
printf(" Processor    : Qualcomm SM8650-AB Snapdragon 8 Gen 3\n");
printf(" Dimensions   : 164.3 x 75.8 x 9.2 mm\n");
printf(" Battery      : Li-Po 5400 mAh\n");
printf(" Resolution   : 1440 x 3168 pixels\n");
printf(" Price        : 256GB 12GB RAM-₹64,999\n");
printf(" Price        : 512GB 12GB RAM-₹69,999\n");
printf("\n vivo iQOO 12\n");
printf(" Rear Camera  : 50MP + 64MP + 50MP\n");
printf(" Front Camera : 16 MP  \n");
printf(" Display      : LTPO AMOLED\n");
printf(" Processor    : Qualcomm SM8650-AB Snapdragon 8 Gen 3\n");
printf(" Dimensions   : 163.2 x 75.9 x 8.1 mm\n");
printf(" Battery      : 5000 mAh\n");
printf(" Resolution   : 1260 x 2800 pixels\n");
printf(" Price        : 256GB 12GB RAM-₹52,999\n");
printf(" Price        : 512GB 16GB RAM-₹57,999\n");
}
Success #stdin #stdout 0.02s 25960KB
stdin
Standard input is empty
stdout
#include <stdio.h>
void camera();
void processor();
void display();
void battery();
void combo();
void exit();
void main()
{
    int choice;
    printf("IMMORTAL INITIATORS\n");
    printf("\nPlease pick your Specification:\n");
    printf("1.Camera\t2.Processor\t3.Display\t4.Battery\n");
    printf("5.Combination of these Specs\t6.Exit\n");
    scanf("%d",&choice);
    switch(choice)
    {
        case 1:camera();
        break;
        case 2:processor();
        break;
        case 3:display();
        break;
        case 4:battery();
        break;
        case 5:combo();
        break;
        case 6:exit(0);
        break;
        default :
        printf("\nError\n");
        break;
    }
}
void camera()
{
    int spec1;
    printf("Select your Camera MegaPixel:\n ");
    printf("\n1.48MP\t2.50MP\t3.64MP\t4.108MP\t5.Exit\n");
    scanf("%d",&spec1);
    switch(spec1)
    {
        case 1:
        printf("\n Apple iPhone 15 Pro Max\n");
        printf(" Rear Camera :        48MP + 12MP + 12MP\n");
        printf(" Front Camera :       12MP\n");
        printf(" Processor :          A17 Pro Chip\n");
        printf(" Dimensions :         159.90 x 76.70 x 8.25\n");
        printf(" Display Resolution : 1290x2796 pixels\n");
        printf(" Battery :            Li-Ion 4441 mAh\n");
        printf(" Price :              256GB 8GB RAM-₹148,900\n");
        printf(" Price :              512GB 8GB RAM-₹179,900\n");
        printf(" Price :              1TB 8GB RAM-₹199,900\n");
        printf(" \nApple iPhone 14 Pro Max\n");
        printf(" Rear Camera :       48MP + 12MP + 12MP\n");
        printf(" Front Camera :       12MP\n");
        printf(" Processor :          A16 Bionic Chip\n");
        printf(" Dimensions :         160.7 x 77.6 x 7.9 mm\n");
        printf(" Display Resolution : 1290 x 2796 pixels\n");
        printf(" Battery :            Li-Ion 4323 mAh\n");
        printf(" Price :              128GB 6GB RAM-₹134,900\n");
        printf(" Price :              256GB 6GB RAM-₹144,900\n");
        printf(" Price :              512GB 6GB RAM-₹164,900\n");
        printf(" Price :              1TB 6GB RAM-₹184,900\n");
        printf("\n Asus ROG Phone II ZS660KL\n");
        printf("\nRear Camera :       48MP + 13MP\n");
        printf(" Front Camera :       24MP\n");
        printf(" Processor :          Qualcomm Snapdragon 855 Plus\n");
        printf(" Dimensions :         171 x 77.6 x 9.5 mm\n");
        printf(" Display Resolution : 1080 x 2340 pixels\n");
        printf(" Battery :            Li-Po 6000 mAh\n");
        printf(" Price :              128GB 8GB RAM-₹40,999\n");
        printf(" Price :              512GB 12GB RAM-₹62,999\n");
        break;
        case 2:
        printf("\n Google Pixel 8 Pro\n");
        printf("\nRear Camera :       50MP + 48MP + 48MP\n");
        printf(" Front Camera :       10.5MP\n");
        printf(" Processor :          Google Tensor G3\n");
        printf(" Dimensions :         162.6 x 76.5 x 8.8 mm\n");
        printf(" Display Resolution : 1344 x 2992 pixels\n");
        printf(" Battery :            Li-Ion 5050 mAh\n");
        printf(" Price :              128GB 12GB RAM-₹106,999\n");
        printf(" Price :              256GB 12GB RAM-₹113,999\n");
        printf("\n Vivo X100\n");
        printf("\nRear Camera :       50MP + 50MP + 50MP\n");
        printf(" Front Camera :       32MP\n");
        printf(" Processor :          Mediatek Dimensity 9300\n");
        printf(" Dimensions :         164.1 x 75.2 x 8.5 mm\n");
        printf(" Display Resolution : 1260 x 2800 pixels\n");
        printf(" Battery :            Li-Ion 5000 mAh\n");
        printf(" Price :              256GB 12GB RAM-₹69,999\n");
        printf(" Price :              512GB 16GB RAM-₹96,999\n");
        printf("\nXiaomi 14 Ultra\n");
        printf("\nRear Camera :       50MP + 50MP + 50MP + 50MP\n");
        printf(" Front Camera :       32MP\n");
        printf(" Processor :          Qualcomm SM8650-ABSnapdragon 8Gen3\n");
        printf(" Dimensions :         161.4 x 75.3 x 9.2 mm\n");
        printf(" Display Resolution : 1440 x 3200 pixels\n");
        printf(" Battery :            5000 mAh\n");
        printf(" Price :              512GB 16GB-₹119,999\n");
        break;
        case 3:
        printf("\n OnePlus 12\n");
        printf("\nRear Camera :       64MP\n");
        printf(" Front Camera :       32MP\n");
        printf(" Processor :          Qualcomm SM8650-AB Snapdragon 8Gen3\n");
        printf(" Dimensions :         164.3 x 75.8 x 9.2 mm\n");
        printf(" Display Resolution : 1440 x 3168 pixels\n");
        printf(" Battery :            Li-Po 5400 mAh\n");
        printf(" Price :              256GB 12GB RAM-₹64,999\n");
        printf(" Price :              512GB 16GB RAMM-₹69,999\n");
        printf("\n ASUS ROG 5s Pro\n");
        printf("\nRear Camera :       64MP + 13MP + 5MP\n");
        printf(" Front Camera :       24MP\n");
        printf(" Processor :          Qualcomm SM8350 Snapdragon 888 5G\n");
        printf(" Dimensions :         172.8 x 77.3 x 10.3 mm\n");
        printf(" Display Resolution : 1080 x 2448 pixels\n");
        printf(" Battery :            Li-Po 6000 mAh\n");
        printf(" Price :              \n");
        printf(" Price :              256GB 12GB RAM-₹63,999\n");
        printf(" Price :              512GB 18GB RAM-₹85,999\n");
        printf("\n Google Pixel 7a\n");
        printf("\nRear Camera :       64MP (OIS) + 13MP\n");
        printf(" Front Camera :       13MP\n");
        printf(" Processor :          Google Tensor G2\n");
        printf(" Dimensions :         152 x 72.9 x 9 mm\n");
        printf(" Display Resolution : 1080 x 2400 pixels\n");
        printf(" Battery :            Li-Po 4385 mAh\n");
        printf(" Price :              128GB 8GB RAM-₹43,999\n");
        break;
        case 4:
        printf("\n SAMSUNG Galaxy S22 ultra 5G\n");
        printf("\nRear Camera :       108MP + 10MP + 10MP + 12MP\n");
        printf(" Front Camera :       40MP\n");
        printf(" Processor :          Qualcomm SM8450 Snapdragon 8Gen1\n");
        printf(" Dimensions :         163.3 x 77.9 x 8.9 mm\n");
        printf(" Display Resolution : 1440 x 3088 pixels\n");
        printf(" Battery :            Li-Ion 5000 mAh\n");
        printf(" Price :              256GB 12GB RAM-₹72,229\n");
        printf(" Price :              512GB 12GB RAM-₹78,999\n");
        printf("\n Vivo V23 Pro\n");
        printf("\nRear Camera :       108MP + 8MP + 2MP\n");
        printf(" Front Camera :       50MP + 8MP Dual\n");
        printf(" Processor :          Mediatek Dimensity 1200\n");
        printf(" Dimensions :         159.5 x 73.3 x 7.4 mm\n");
        printf(" Display Resolution : 1080 x 2376 pixels\n");
        printf(" Battery :            4300 mAh\n");
        printf(" Price :              128GB 8GB RAM-₹41,990\n");
        printf(" Price :              256GB 12GB RAM-₹45,990\n");
        printf("\n Xiaomi 11T Pro 5G\n");
        printf("\nRear Camera :       108MP + 8MP + 5MP\n");
        printf(" Front Camera :       16MP\n");
        printf(" Processor :          Qualcomm SM8350 Snapdragon 888 5G\n");
        printf(" Dimensions :         164.1 x 76.9 x 8.8 mm\n");
        printf(" Display Resolution : 1080 x 2460 pixels\n");
        printf(" Battery :            Li-Po 5000 mAh\n");
        printf(" Price :              256GB 12GB RAM₹-54,999\n");
        break;
        case 5: exit(0);
        break;
        default:
        printf("\nError\n");
        break;
    }
}
void processor()
{
int spec3;
printf("please select the processor:\n");
printf("1.MediaTek\t2.Snapdragon\t3.Exit\n");
scanf("%d",&spec3);

switch (spec3)
   {
    case 1:
        printf("\n Vivo iqoo12\n");
        printf("Processor         : MediaTek Dimensity 9300\n");
        printf("Refresh Rate      : 144Hz\n");
        printf("Screen Resolution : 1260 x 2800 pixels\n");
        printf("CPU and GPU       : Octa-core (Mali-G720 MP12)\n");
        printf("Dimensions        : 163.2 x 75.9 x 8.1 mm\n");
        printf("Battery           : 5000 mAh\n");
        printf("Price             : $596.79 (256GB + 12GB RAM)\n");
        printf("                  : ₹52,999 (256GB + 12GB RAM)\n");
        printf("\nredmi k60 ultra\n");
        printf("Processor         : MediaTek Dimensity 9200 Plus\n");
        printf("Refresh Rate      : 92Hz\n");
        printf("Screen Resolution : 1080 x 2400 pixels\n");
        printf("Display type      : AMOLED\n");
        printf("Dimensions        : 160.6 x 73.9 x 8.4 mm\n");
        printf("Battery           : 4500 mAh\n");
        printf("Price             : $399.99 (128GB + 8GB RAM)\n");
        printf("                  : ₹29,999 (128GB + 8GB RAM)\n");
        break;

    case 2:
        printf("\nsamsung galaxy s21\n");
        printf("Processor         : Qualcomm Snapdragon 888\n");
        printf("Refresh Rate      : 144Hz\n");
        printf("Screen Resolution : 1260 x 2800 pixels\n");
        printf("CPU and GPU       : Octa-core (Adreno 750)\n");
        printf("Dimensions        : 163.2 x 75.9 x 8.1 mm\n");
        printf("Battery           : 5000 mAh\n");
        printf("Price             : $596.99 (512GB + 16GB RAM)\n");
        printf("                  : ₹57,999 (512GB + 16GB RAM)\n");
        printf("\nsamsung galaxy s22 ultra\n");
        printf("Processor         : Qualcomm Snapdragon 888 Plus\n");
        printf("Refresh Rate      : 144Hz\n");
        printf("Screen Resolution : 1080 x 2400 pixels\n");
        printf("Display type      : AMOLED\n");
        printf("Dimensions        : 160.6 x 73.9 x 8.4 mm\n");
        printf("Battery           : 4500 mAh\n");
        printf("Price             : $699.99 (256GB + 12GB RAM)\n");
        printf("                  : ₹49,999 (256GB + 12GB RAM)\n");
        break;
        case 3: exit(0);
        break;
        default :
        printf("Error\n");
        break;
    }
}
void battery()
{
int spec4;
printf("please select the Battery Capacity:\n");
printf("1.4000-4999\t2.5000-5999\t3.Above 6000\t4.Exit\n");
scanf("%d",&spec4);
switch(spec4)
{
case 1:
printf("\n Nothing Phone (2)\n");
printf(" Battery Type      : Li-Ion\n");
printf(" Capacity          : 4700 mAh\n");
printf(" Wired Charging    : 45W wired\n");
printf(" Wireless Charging : 15W wireless\n");
printf(" Dimensions        : 162.1 x 76.4 x 8.6 mm\n");
printf(" Display           : LTPO OLED\n");
printf(" Price             : 256GB 12GB RAM-₹39,499\n");
printf(" Price             : 512GB 12GB RAM	$ 727.00\n");
printf(" Price             : 128GB 8GB RAM	₹ 34,499\n");
printf("\n Oppo Reno11 Pro\n");
printf(" Battery Type      : Li-Po\n");
printf(" Capacity          : 4600 mAh\n");
printf(" Wired Charging    : 80W wired\n");
printf(" Wireless Charging : NOT AVAILABLE\n");
printf(" Dimesions         : 162.4 x 74.1 x 7.6 mm\n");
printf(" Display           : AMOLED\n");
printf(" Price             : 256GB 12GB RAM	₹ 35,999\n");
break;
case 2:
printf("\n SAMSUNG Galaxy S24 Ultra\n");
printf(" Battery Type      : Li-Ion \n");
printf(" Capacity          : 5000 mAh\n");
printf(" Wired Charging    : 45W wired\n");
printf(" Wireless Charging : 15W wireless \n");
printf(" Dimensions        : 162.3 x 79 x 8.6 mm\n");
printf(" Display           : Dynamic LTPO AMOLED 2X\n");
printf(" Price             : 256GB 12GB RAM-₹ 112,290\n");
printf(" Price             : 512GB 12GB RAM-₹ 123,999\n");
printf(" Price             : 1TB 12GB RAM-$ 1,495.00\n");
printf("\n OnePlus Nord 3\n");
printf(" Battery Type      : Li-Po \n");
printf(" Capacity          : 5000 mAh\n");
printf(" Wired Charging    : 80W wired\n");
printf(" Wireless Charging : NOT AVAILABLE\n");
printf(" Dimensions        : 162 x 75.1 x 8.2 mm\n");
printf(" Display           : Fluid AMOLED\n");
printf(" Price             : 256GB 16GB RAM	€ 317.00\n");
printf(" Price             : 128GB 8GB RAM	₹ 25,499\n");
break;
case 3:
printf("\n Asus ROG Phone 6 Pro\n");
printf(" Battery Type      : Li-Po\n");
printf(" Capacity          : 6000 mAh\n");
printf(" Wired Charging    : 65W wired\n");
printf(" Wireless Charging : NOT AVAILABLE\n");
printf(" Dimensions        : 173 x 77 x 10.3 mm\n");
printf(" Display           : AMOLED\n");
printf(" Price             : 512GB 18GB RAM-C$2,199\n");
printf("\n ASUS ROG Phone 5 Ultimate\n");
printf(" Battery Type      : Li-Po \n");
printf(" Capacity          : 6000 mAh\n");
printf(" Wired Charging    : 65W wired\n");
printf(" Wireless Charging : NOT AVAILABLE\n");
printf(" Dimensions        : 172.8 x 77.3 x 10.3 mm\n");
printf(" Display           : AMOLED\n");
printf(" Price             : 512GB 18GB RAM-₹85,999\n");
break;
case 4: exit(0);
break;
default :
printf("Error");
break;
}
}
void combo()
{
printf("\nBest Mobiles with Max Specifications:\n");
printf("\n Vivo X100 Pro\n");
printf(" Rear Camera  : 50MP + 50MP + 50MP\n");
printf(" Front Camera : 32MP\n");
printf(" Display      : LTPO AMOLED\n");
printf(" Processor    : Mediatek Dimensity 9300\n");
printf(" Dimensions   : 164.1 x 75.3 x 8.9 mm\n");
printf(" Battery      : Li-Ion 5400 mAh\n");
printf(" Resolution   : 1260 x 2800 pixels\n");
printf(" Price        : 512GB 16GB RAM-₹96,999\n");
printf("\n OnePlus 12\n");
printf(" Rear Camera  : 64MP\n");
printf(" Front Camera : 32MP\n");
printf(" Display      : LTPO AMOLED\n");
printf(" Processor    : Qualcomm SM8650-AB Snapdragon 8 Gen 3\n");
printf(" Dimensions   : 164.3 x 75.8 x 9.2 mm\n");
printf(" Battery      : Li-Po 5400 mAh\n");
printf(" Resolution   : 1440 x 3168 pixels\n");
printf(" Price        : 256GB 12GB RAM-₹64,999\n");
printf(" Price        : 512GB 12GB RAM-₹69,999\n");
printf("\n vivo iQOO 12\n");
printf(" Rear Camera  : 50MP + 64MP + 50MP\n");
printf(" Front Camera : 16 MP  \n");
printf(" Display      : LTPO AMOLED\n");
printf(" Processor    : Qualcomm SM8650-AB Snapdragon 8 Gen 3\n");
printf(" Dimensions   : 163.2 x 75.9 x 8.1 mm\n");
printf(" Battery      : 5000 mAh\n");
printf(" Resolution   : 1260 x 2800 pixels\n");
printf(" Price        : 256GB 12GB RAM-₹52,999\n");
printf(" Price        : 512GB 16GB RAM-₹57,999\n");
}