Pages
Home
skip to main
|
skip to sidebar
Computer Programming
An easy code to get reverse of given number in c Language
Saturday, 20 April 2013
#include <stdio.h>
#include <conio.h>
int main()
{
int num,mod,rem;
printf("Enter the Number to Find it's Reverse\n");
scanf("%d",&num);
while(num!=0)
{
mod=num%10;
rem=num/10;
printf("%d",mod);
num=rem;
}
getch();
}
Newer Post
Older Post
Home
Categories
Advanced Programs
Array
Assembly Language
C Language
C Language Tutorials
C++
C++ Language
C++ Tutorials
Dev
File Handling
for loop
Functions
Graphics
If-Else-If (Conditions)
Interview Questions
Link List
Loops (For While Do-While)
Matrix
Mobile number details
OOP
pointer
Programs for Beginners
Recursion
Simple Programes (Beginers)
Strings
Structure
Switch
Track phone number
whose number is this calling me
whose number lookup
Archives
►
2018
(1)
►
February
(1)
►
2014
(25)
►
July
(10)
►
June
(2)
►
May
(2)
►
March
(4)
►
February
(6)
►
January
(1)
▼
2013
(116)
►
July
(16)
►
June
(8)
►
May
(27)
▼
April
(65)
Write a program in C++ to get employee name and it...
Write a program to in C++ to get student name and ...
Write a program to print bill in C++ using oop
Write a program to get first n prime numbers
Write a program to print hello world on screen in ...
Write a program to get a number from user and prin...
Write a program to print your name, car name, and ...
Fundamentals of C Language Tutorial#1
An easy code to get reverse of given number in c L...
Write a program to Get Reverse number of Given Number
Write a program to pass a string to function that ...
Write a program to pass a string to function that ...
Write a program calculate tomorrow's date.
Print Counting From 1 to 100 without Loop
The Expression getchar()!=EOF is 0 or 1.
Programe to print the value of EOF
Weather Temperature Conversion Calculator with hea...
Convert temprature from Farnhieght to CELSIES and ...
Write a program to get data from user and write in...
Write a program to read data from a file.
Get two integers and operator from user and apply ...
Get a Number from user and print its table using f...
Get Maximum number from given numbers using function
Get Element in 2 D Array and print orignal metrix ...
Get a string from user and convert it into upper case
Lenght of string by evaluating the element in the ...
Write a function to raise a floating point number ...
Write a Function to Check Number is +ve or -ve
Run the "Hello, World" program on your system. Exp...
Get today's date from user and print date of tomorrow
Write a Programe to count blank spaces, tabs and n...
Get input from user and replace tab, blank space, ...
Word Counter Programe
Get Input From User and Print one word per Line.
Program to print a histrogram of the frequencies o...
write a c program to print lenght of largest line.
Write a program for electricity bill [Updated]
Write a program to print all input lines that are ...
Find Size of (unsized) dynamic Array and print ele...
Copy Data/String of one array to another array
Copy one string to another using strcpy() function
Get order of matrix and element from user and prin...
Write a program to find the area of sphere
Write a program to find the value of ascci codes
write a program to get 4 numbers from user and pri...
Write a program to calculate and print circumferen...
write a program to find the average, sum, subtract...
Write a program print squire pyramid using for loop.
Write a program to print star triangle form.
Write a program to print table of given number thr...
Sum Through while loop: #include<stdio.h> #i...
Write a program to get two numbers from user and p...
Write a program to get two numbers from user and p...
Write a program to generate random numbers as in a...
Write a program to show the size of char type vari...
Write a program to generate 1000 random number in ...
Write a program to print histograme based on numbe...
Write a program to to show the working of IF condi...
Write a program to to show the working of IF condi...
Write a program to print histograme based on numbe...
Write A Program Of Sum of Ten Number Through Funct...
Syntax and Flowchart of For loop
Write a program to print table of given number usi...
WRITE A Program To Find A Maximum Number Through ...
Write a program to print your name in a stylish fo...
Search Box
Most Reading
Imagine a tollbooth at a bridge. Cars passing by the booth are expected to pay a 50 rupees toll. Mostly they do, but sometimes a car goes by without paying. The tollbooth keeps track of the number of cars that have gone by, and of the total amount of money collected. Model this tollbooth with a class called toll Booth. The two data items are a type unsigned int to hold the total number of cars, and a type double to hold the total amount of money collected. A constructor initializes both of these to 0. A member function called payingCar()increments the car total and adds 50 to the cash total. Another function, called nopayCar(), increments the car total but adds nothing to the cash total. Finally, a member function called display() displays the two totals. [Updated]
#include <iostream.h> class Tollboth //class declaretion { //attributes int cars; double collect; pub...
Create a class Rectangle with attributes length and width, each of which Defaults to 1. Provide member functions that calculate the perimeter and the area of the rectangle. Also, provide set and get functions for the length and width attributes. The set functions should verify that length and width are each floating-point numbers larger than 0.0 and less than 20.0. [Updated]
#include <iostream.h> class area //declare class { float width, lenght, areaofrect; //attributes public: area(...
Write a program in c language to reverse a string by using strrev function or ptrint a string in reverse order
#include <stdio.h> #include <string.h> #include <conio.h> int main() { char str[100]; printf("Enter a s...
You just missed a call? Want to get details of that phone number?
Hey Guys, Today in this tutorial I'll teach you guys how you can get details of any mobile number. This is very simple to track any ph...
Write a program in assembly language to multiply matrices of 3x3 [Updated]
Tags: Multiplication is assembly language, multiplication of matrices in assembly language, Note: This program is compiled in EMU software...
Write a function to raise a floating point number to an integer power. [Updated]
#include <stdio.h> #include <conio.h> float raise_to_power(float num, int power) { float ans=1, i; for(i=1;...
Syntax and Flowchart of For loop
In for loop statements execute until the condition is satisfied Syntax: for(initialize counter variable ; condition ; increment/decrement...
Write a program in C++ to print Pascal Series on screen
#include <stdio.h> #include <conio.h> long factorial(int); int main() { int i, n, c; printf("Enter the ...
Write a program to print all input lines that are longer than 80 characters.
#include <stdio.h> #include <conio.h> int main() { int m=0, i; char string[1000], ch; printf(...
Write a program calculate tomorrow's date.
#include <stdio.h> #include <conio.h> struct date { int day; int month; int year; } today, tomo...
Tags
Advanced Programs
Array
Assembly Language
C Language
C Language Tutorials
C++
C++ Language
C++ Tutorials
Dev
File Handling
for loop
Functions
Graphics
If-Else-If (Conditions)
Interview Questions
Link List
Loops (For While Do-While)
Matrix
Mobile number details
OOP
pointer
Programs for Beginners
Recursion
Simple Programes (Beginers)
Strings
Structure
Switch
Track phone number
whose number is this calling me
whose number lookup
About Me
Awais
Muhammad Awais Rahman
Unknown
Contact Form
Name
Email
*
Message
*
Copyright © 2013.
Computer Programming
.
All Rights Reserved