Program to Check a whether a Number is Odd or Even using Switch Case

C program to display the odd digits present in integer

Program to Check a whether a Number is Odd or Even using Switch Case #include<stdio.h> int main(){ int number,remainder; clrscr(); printf(” Enter an integer number: “); scanf(“%d”,&number); remainder = abs(number) % 2; switch(remainder){ case 0 : printf(“\n %d is an even number.”,number); break; case 1 : printf(“\n %d is an odd number.”,number); break; } getch(); … Read more

C program to display odd numbers between 1 and 100

C program to display the odd digits present in integer

C program to display odd numbers between 1 and 100 #include<stdio.h> int main(){ int rem,i; printf(“\n The odd numbers between 1 and 100 are \n”); for(i=1; i<=100; ++i){ rem = i % 2; if(rem != 0) printf(“\n  %d”,i); } return 0; }  

C program to display the odd digits present in integer

C program to display the odd digits present in integer

C program to display the odd digits present in integer Odd number can not be divided by 2. The remainder after dividing an Odd number by 2 is one. For example . . . Odd digits of number 6547 are 5 and 7. #include<stdio.h> int main(){ int num,rem,odd=0,digit; printf(”  Enter an integer number: “); scanf(“%d”,&num); … Read more

C program to print diamond pattern

C Programming Tutorial

C program to print diamond pattern #include <stdio.h> int main() { int i, j, rows, space = 1; printf(“Please enter number of rows you want to see in half Diamond\n”); scanf(“%d”, &rows); printf(“Diamond pattern:\n”); space = rows – 1; for (j = 1; j <= rows; j++) { for (i = 1; i <= space; … Read more

PSEB 10th Result 2020: पंजाब बोर्ड पीएसईबी 10वीं का रिजल्ट जारी

pseb result 2020

PSEB 10th Result 2020: पंजाब बोर्ड पीएसईबी 10वीं का रिजल्ट जारी, ये रहा Direct Link http://punjab-10th-result.indiaresults.com/pb/pseb/class-10th-exam-result-2020/query.htm PSEB 10th Result 2020: पंजाब स्कूल एजुकेशन बोर्ड (पीएसईबी) ने 10वीं बोर्ड परीक्षा रिजल्ट जारी कर दिया है। 10वीं के साथ साथ 5वीं और 8वीं कक्षा का रिजल्ट भी जारी किया गया है। पंजाब बोर्ड ने 10वीं का रिजल्ट … Read more

C Program to convert uppercase string to lowercase string

C Program to convert uppercase string to lowercase string

C Program to convert uppercase string to lowercase string Program Logic: The logic we have used in the program is: All the upper case characters (A-Z) have ASCII value ranging from 65 to 90 and their corresponding lower case characters (a-z) have ASCII value 32 greater than them. For example ‘A‘ has a ASCII value … Read more

What after 10th Board Results

Courses-Streams-After-10th

What after 10th Board Results What after 10th? What are the courses after 10th? What to do after 10th? Which stream and subjects to choose in 11th and 12th? There are so many courses after 10th that could land you in your dream job. But how would you decide which one is the right course … Read more

Topper list – BSEB Bihar Board Matric Result 2020

bihar board result

Topper list – BSEB Bihar Board Matric Result 2020 जिला स्कूल का नाम विद्यार्थी का नाम प्राप्त अंक रोहतास जनता हाई स्कूल तेनौज हिमांशु राज 481 समस्तीपुर एसके हाई स्कूल जितवारपुर दुर्गेश कुमार 480 भोजपुर श्री हरखेन कुमार जैन ज्ञान स्थली आरा शुभम कुमार 478 औरंगाबाद पटेल हाई स्कूल दौड़नगर राजवीर 478 अरवल बालिका हाई … Read more