Author Archives: admin

Tutorial Questions Of C

Please try to solve these questions Attempt all the questions Using the while loop; write the program to print the following series until the term value is less than 750. The series is 1, 2 ,5, 10, 17,…………………….. Find the distance by using the following formula, D2 =(x2 –x1)2 + (y2 – y1)2 . Where […]

।। माया ।। By Riwaj Rokka

।। माया ।। माया भन्ने चिज नै छैन आजकाल, म यसलाइ प्रमाणित गर्नसक्छु । यहाँ माया भन्नाले केटा–केटिबिचको माया जुन सुरूवात नै भएको छैन त्यो हो । डुबिसकेको माया र अन्य किसिमको मायाको कुरा गर्न खोजेको होइन मैले । कारणहरू — क) बिस्वास नै हुदैनः– किनभने कलेजमा एउटा, अफिसमा एउटा, घर छेउमा एउटा र फेसबुकमा […]

How to find Palindrome Number in C

Easy steps for finding the Palindrome Numbers #include <stdio.h> #include <conio.h> void main() { int num,r,sum=0; int temp; clrscr(); //starting of the program printf(“Enter the number from user=”); scanf(“%d”,&num); temp=num; while(num>0){   //starting of the loop r=num%10; sum=sum*10+r; num=num/10; } //here the value of num will be zero at last of iteration of loop //compare […]

First C Program

(This is based on Turbo C compiler) Q.Write a program in C to find the sum of the each digit of a given number #include<stdio.h> #include<conio.h> // if using Dev C compiler, then don’t need this header void main()              //starting of the main program { int num,sum=0,r;     […]

Posted in Uncategorized

C and C++ Tutorial comming soon

Dear Folks I am about to post the C and C++ Tutorials for Engineering,Management students. I will post the solutions of the questions which were asked in IOE,Purbanchal University, Pokhara University and Kathmandu University. Don’t panic! I am also addressing the problems of BBA and BIM. Please like me on Facebook,Twiter,Google+ or Linkedin.