Search
Log in
Latest topics
Statistics
We have 30 registered usersThe newest registered user is deigavr
Our users have posted a total of 191 messages in 126 subjects
Who is online?
In total there are 2 users online :: 0 Registered, 0 Hidden and 2 Guests None
Most users ever online was 125 on Wed Apr 07, 2021 9:18 am
first program
Page 1 of 1
first program
Objective
Introduction to Computing Fundamentals.
Theory
This course is a comprehensive introductory course that is intended for students who have no background in computer programming. This course provides basic knowledge and skills on programming. The course covers structured programming paradigm in depth. The programming language used in this programming course is C language.
Programming is a core activity of computer science. It is a skill for creation. Once you can do it, the sky's the limit over what you can make computers do. A program is just a plan of action a machine can follow. From such plans comes everything the computers you see around you do.
Task
1. Write a simple program to display HELLO WORLD.
2. Write a program that uses data types integer, character and float with three variables a, b and c respectively, assign values in them, and display the result.
Coding for first program
#include<stdio.h>
void main(void)
{
int i,j;
printf("HELLO WORLD");
}
coding for second program
#include<stdio.h>
void main(void)
{
int i;
float k;
char p;
i=10;
k=10.11;
p='h';
printf("integer %d\n float %f\n charecter %c\n",i,k,p);
}
(Created By Ayaz)
Introduction to Computing Fundamentals.
Theory
This course is a comprehensive introductory course that is intended for students who have no background in computer programming. This course provides basic knowledge and skills on programming. The course covers structured programming paradigm in depth. The programming language used in this programming course is C language.
Programming is a core activity of computer science. It is a skill for creation. Once you can do it, the sky's the limit over what you can make computers do. A program is just a plan of action a machine can follow. From such plans comes everything the computers you see around you do.
Task
1. Write a simple program to display HELLO WORLD.
2. Write a program that uses data types integer, character and float with three variables a, b and c respectively, assign values in them, and display the result.
Coding for first program
#include<stdio.h>
void main(void)
{
int i,j;
printf("HELLO WORLD");
}
coding for second program
#include<stdio.h>
void main(void)
{
int i;
float k;
char p;
i=10;
k=10.11;
p='h';
printf("integer %d\n float %f\n charecter %c\n",i,k,p);
}
(Created By Ayaz)
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|
Mon Aug 01, 2011 11:44 pm by Guest
» Netbook Brands
Mon Aug 01, 2011 5:39 am by Guest
» backlinks checker backlink service
Sun Jul 31, 2011 8:56 am by Guest
» how to buy facebook fans f4
Sat Jul 30, 2011 2:34 pm by Guest
» Alle bijzondere dingen in de zaanstreek
Sat Jul 30, 2011 8:11 am by Guest
» HERE YOU CAN POST ALL WEBSITE LINKS...
Wed Aug 26, 2009 2:16 pm by onesimpletech
» cool web site for all must check it
Mon Jul 06, 2009 2:32 pm by Snopy Cobra
» poetry spirit
Mon Jul 06, 2009 2:31 pm by Snopy Cobra
» best to learn VC++
Sun May 10, 2009 3:22 pm by Guest