#include stdio.h
struct parantha{
char typ[25];
float price;
int qty;
};
int main()
{
struct parantha ob;
gets(ob.typ);
ob.price=60.50;
ob.qty=1;
printf("\nType of Parantha = %s",ob.typ);
printf("\nPrice of Parantha = %f",ob.price);
printf("\nQty of Parantha = %d",ob.qty);
}
🔴 Class 72 : Concepts of Structure in C language
🔴 Daily Reel Upload
🔴 Follow to Learn C - Your first step to Programming
Connect with us on Instagram for daily short videos where we help students like you with my programming knowledge so that they can finally grow and scale future in Software, Website & Mobile application development.
#clanguage #clanguageprogramming #cprogramming #cprogramminglanguage