DESHAPRIYA_PORTFOLIO

Topic-17: Pattern programing

Defination: Pattern programming in C refers to the practice of creating various shapes, designs, or patterns using loops and conditional statements within a C program. These patterns can range from simple geometric shapes to more intricate designs. Pattern programming involves utilizing loops (such as for loops, while loops) and control structures (such as if statements)

Topic-17: Pattern programing Read More »

Topic-10: Sequential Control structure(if,if-else,esle if,nested if)

Types Of Sequential control structure Simple if if – else else if / if else ladder Multiple if / nested if 1.Simple if In simple if we can check only one condition . #include<stdio.h> int main() { int age=20; if(age>=18) { printf(“you can apply your driving lisenced.”); } return 0; } OUTPUT :- you can

Topic-10: Sequential Control structure(if,if-else,esle if,nested if) Read More »