08:17C switch statements 🔽
From the creator
C switch tutorial example explained #C #switch #switches // switch = A more efficient alternative to using many "else if" statements // allows a value to be tested for equality against many cases char grade; printf("\nEnter a letter grade: "); scanf("%c", &grade); switch(grade){ case 'A': printf("perfect!\n"); break; case 'B': printf("You did good!\n"); break; case 'C': printf("You did okay!\n"); break; case 'D': printf("At least it's not an F!\n"); break; case 'F': printf("YOU FAILED!\n"); break; default: printf("Please enter only valid grades"); } return 0;
Published 2021-09-01 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.
Keep exploring Learn to Code
08:17
16:29
09:14Securing AI Deployments with HashiCorp Vault & Azure | Sip and Sync with Azure
Microsoft Developer
22:43Next-Level SQL in VS Code: GitHub Copilot, Containers & more | Data Exposed
Microsoft Developer
19:28SQL in Fabric–Copilot, Data Virtualization, Notebook Integration & Backup/Restore | Data Exposed
Microsoft Developer
11:13Building a Snapshot Backup Catalog with SQL Server 2025 and Pure Storage FlashArray | Data Exposed
Microsoft Developer
10:24