SlideShare a Scribd company logo
1 of 3
Download to read offline
นางสาวนันท์นภัส แสบงบาล ม.4/5 เลขที่ 8
#include<stdio.h>
#include <conio.h>
main()
{
int intNum,intMain,intAns;
intAns =0;
printf("Enter Number : ");
scanf("%d",&intMain);
printf("n");
for(intNum = 1; intNum <= 12; intNum++)
{
intAns = intNum * intMain;
printf("2 * %d = %d",intNum,intAns);
printf("n");
}
{
printf("nn");
printf("Nunnaput Sabangban M.4/5 No.8");
}
getch();
}
int intNum,intMain,intAns;
Start
intAns =0;
printf("Enter Number : ");
scanf("%d",&intMain);
printf("n");
for(intNum = 1;
intNum <= 12;
intNum++)
intAns = intNum * intMain;
printf("2 * %d = %d",intNum,intAns);
printf("n");
End

More Related Content

Viewers also liked

рефератсит
рефератситрефератсит
рефератсит
pet93
 
Ribozimy predvoritelnaya 01-202
Ribozimy predvoritelnaya 01-202Ribozimy predvoritelnaya 01-202
Ribozimy predvoritelnaya 01-202
pet93
 

Viewers also liked (14)

рефератсит
рефератситрефератсит
рефератсит
 
Cuatro Tribus – Four Tribes at the Board Games Studies 2012
Cuatro Tribus – Four Tribes at the Board Games Studies 2012Cuatro Tribus – Four Tribes at the Board Games Studies 2012
Cuatro Tribus – Four Tribes at the Board Games Studies 2012
 
AB 2286: Why Process Servers Should Be Regulated by a State Entity
AB 2286: Why Process Servers Should Be Regulated by a State EntityAB 2286: Why Process Servers Should Be Regulated by a State Entity
AB 2286: Why Process Servers Should Be Regulated by a State Entity
 
Omalitza
OmalitzaOmalitza
Omalitza
 
Growing Your Process Serving Business
Growing Your Process Serving BusinessGrowing Your Process Serving Business
Growing Your Process Serving Business
 
Perception game
Perception gamePerception game
Perception game
 
Ribozimy predvoritelnaya 01-202
Ribozimy predvoritelnaya 01-202Ribozimy predvoritelnaya 01-202
Ribozimy predvoritelnaya 01-202
 
Early Parrot Education - Stage 6 - Feeding enrichment
Early Parrot Education - Stage 6 - Feeding enrichmentEarly Parrot Education - Stage 6 - Feeding enrichment
Early Parrot Education - Stage 6 - Feeding enrichment
 
Early Parrot Education - Stage 5 - Fledging Acquiring Independence
Early Parrot Education - Stage 5 - Fledging Acquiring IndependenceEarly Parrot Education - Stage 5 - Fledging Acquiring Independence
Early Parrot Education - Stage 5 - Fledging Acquiring Independence
 
Gary Reynolds Slide tips
Gary Reynolds Slide tipsGary Reynolds Slide tips
Gary Reynolds Slide tips
 
งานกลุ่ม2
งานกลุ่ม2งานกลุ่ม2
งานกลุ่ม2
 
Early Parrot Education - Stage 4 - Advanced foraging education
Early Parrot Education - Stage 4 - Advanced foraging educationEarly Parrot Education - Stage 4 - Advanced foraging education
Early Parrot Education - Stage 4 - Advanced foraging education
 
The Importance Of Market Research
The Importance Of Market ResearchThe Importance Of Market Research
The Importance Of Market Research
 
Early Parrot Education - Stage 1 - Introductory
Early Parrot Education - Stage 1 - IntroductoryEarly Parrot Education - Stage 1 - Introductory
Early Parrot Education - Stage 1 - Introductory
 

งาน#2

  • 1. นางสาวนันท์นภัส แสบงบาล ม.4/5 เลขที่ 8 #include<stdio.h> #include <conio.h> main() { int intNum,intMain,intAns; intAns =0; printf("Enter Number : "); scanf("%d",&intMain); printf("n"); for(intNum = 1; intNum <= 12; intNum++) { intAns = intNum * intMain; printf("2 * %d = %d",intNum,intAns); printf("n"); } { printf("nn"); printf("Nunnaput Sabangban M.4/5 No.8"); } getch(); }
  • 2.
  • 3. int intNum,intMain,intAns; Start intAns =0; printf("Enter Number : "); scanf("%d",&intMain); printf("n"); for(intNum = 1; intNum <= 12; intNum++) intAns = intNum * intMain; printf("2 * %d = %d",intNum,intAns); printf("n"); End