Just God can judge me; believe me or leave me. Don’t underestimate me when you test me. #Teacher
Don't wanna be here? Send us removal request.
Photo

Teaching programming is just like explaining a really dumb kid to do something. #Programming #PCWalay #teaching https://www.instagram.com/p/CdOWJxSqNM0/?igshid=NGJjMDIxMWI=
1 note
·
View note
Photo

Tipu Sultan (Sultan Fateh Ali Sahab Tipu), also known as Tipu Sahab or Tiger of Mysore, was a ruler of the Mysore Kingdom based in South India. He was a pioneer of rocket weapons. Tipu was born on November 20, 1750, in Devanahalli at the time, now known as the Bangalore Rural District. Throughout his life, Tipu Sultan fought various battles and made his kingdom of Mysore proud of his will and strength. However, he is most closely associated with the first sepoy rebellion in India, known as Vellore Mutiny. It was one of the major oppose of the British before their rise to power in India. Mutiny of 1857 is well known to everyone; However, the Vellore Mutiny of 1806 was India's 1st revolt against British rule of east India company. Tipu introduced a large number of administrative innovations during his rule, including a new financial(mint) system and calendar, as well as a new revenue system that started the growth of the Mysore silk industry. He also embarked on an outstanding economic development program that established Mysore as a major economic power, with some of the world's highest wages and standard of living in the late 18th century. Tipu's father, Hyder Ali, rose to power and took over Mysore, and Tipu succeeded him as ruler of Mysore at his father's death in 1782. He won a significant British victory in the Second Anglo-Mysore War and negotiated the 1784 Mangalore Convention after the death of his father by cancer in December 1782 during the Second Anglo-Mysore War. Napoleon Bonaparte sought an alliance with Tipu Sultan. Both Tipu Sultan and his father Hyder Ali used their French-trained army in alliance with the French in their struggle against the British, and in Mysore's struggles with another surrounding power, against the rulers of Malabar, Carnatic, Kodagu, Bednore, Travancore, Marathas, and Sira. #TipuSultan #TigerofMysore #history https://www.instagram.com/p/CdJWIhqKwn_/?igshid=NGJjMDIxMWI=
0 notes
Photo

9th Class date Sheet for all educational boards of Punjab. #exams #paper #PCWalay https://www.instagram.com/p/CdF57SvqX2d/?igshid=NGJjMDIxMWI=
0 notes
Photo

Date Sheet Matric (10th) Annual Exam 2022. Valid for all educational boards of Punjab. #exam #paper (at New Crescent Academy) https://www.instagram.com/p/Ccqf3mSKXU_/?igshid=NGJjMDIxMWI=
0 notes
Photo

Resources to Learn #Programming (at New Crescent Academy) https://www.instagram.com/p/CcqKUiiKlKc/?igshid=NGJjMDIxMWI=
0 notes
Text
C Program to convert time elapsed into seconds
#include <stdio.h>
#include<conio.h>
void main() {
int time, hours, minutes, seconds;
printf("Enter time in format h m s : \n");
scanf("%d %d %d", &hours, &minutes, &seconds);
time = ((hours * 3600) + (minutes * 60) + seconds);
printf("%02d : %02d : %02d = %d Seconds", hours, minutes, seconds, time);
getch();
}
0 notes
Text
C Program to round off any number to 2 decimal places
#include<stdio.h>
#include<conio.h>
void main()
{
float n; // Variable declaration
printf ("Enter any number : ");
scanf ("%f", &n);
printf ("Number = %.2f", n);
getch();
}
0 notes
Text
C Program to Print ASCII value of any character
#include <stdio.h>
int main() {
char c;
printf("Enter a character: ");
scanf("%c", &c); // Reads character input
// %d displays the integer value of a character
// %c displays the actual character
printf("ASCII value of %c = %d", c, c);
return 0;
}
0 notes
Text
C Program to convert feet to meter
#include <stdio.h>
void main() {
float meter, feet;
printf("Enter feet : ");
scanf("%f", &feet);
meter = feet / 3.2808399;
printf("meter: %f", meter);
return 0;
}
0 notes
Text
C Program to perform all Arithmetic operations
#include <stdio.h>
void main()
{
int x, y;
printf("Enter Two numbers:\n");
scanf("%d %d", &x, &y);
printf("Sum = %d\n", x + y);
printf("Difference = %d\n", x * y);
printf("Product = %d\n", x - y);
printf("Division = %d\n", x / y);
}
0 notes
Text
C Program to swap values of two variables
This program shows how the values of two variables can be swapped with the help of a third variable.
#include <stdio.h>
int main() {
int n1, n2, temp;
printf("Type value of number 1 : ");
scanf("%d", &n1);
printf("\nType value of number 2 : ");
scanf("%d", &n2);
temp = n1;
n1 = n2;
n2 = temp;
printf("After swapping values \n");
printf("number 1 : %d", n1);
printf("\nnumber 2 : %d", n2);
return 0;
}
0 notes
Text
C program to print Sum of two integers
#include <stdio.h>
void main()
{
int m, n; //Variable declaration
printf("Enter two integers : \n");
scanf("%d %d", &m, &n); //Variable initialization
printf("Sum of numbers = %d", m + n);
}

0 notes
Text
C Program to Print"Hello PCWalay!"
#include<stdio.h>
//Standard input output header file
void main() {
printf ("Hello PCWalay!");
//Output function prints on console
}

0 notes
Text
Assalam o Alaikum! Hopefully you'll be in good health and doing well.
Many of my students daily ask me for a practice list of C programs. I've decided to daily share a program so that it may be used as a practice manual as well as reference guide.
C program to print "Hello PCWalay"
C program to print Sum of two integers
C program to swap values of two variables with the help of third variable
C program to perform all Arithmetic operations
C Program to convert feet to meter
C Program to print ASCII value of any character.
C Program to convert time elapsed into seconds
.
.
.
.
.
.
.
.
.
.
.
.
2 notes
·
View notes