Zgjidhja e Ushtrimeve te Leksionit 1

Zgjidhja ideale e ushtrimeve te leksionit 1:

Ushtrimi 1.

#include<stdio.h>
#include<conio.h>
int main(){
printf(“*\n**\n***\n****\n”);
getch();
}

Ushtrimi 2.

#include<stdio.h>
#include<conio.h>
int main(){
printf(“___*\n__**\n_***\n****\n”);
getch();
}

(ne vend te _ duhet peredorur bacspace)*

Ushtrimi 3.

#include<stdio.h>
#include<conio.h>
int main(){
int viti=10;
printf(“Une quhem HardSoft.\n studioj HardSoft.\n”Une jam ne vitin e %d.”,viti);
getch();
}

Ushtrimi 4.

#include<stdio.h>
#include<conio.h>
int main(){
printf(“\t\tSot eshte data 8.2.2013\nTani eshte ora 12:00\n\nKeta jane ditet me te nxehta te kesaj vere.\n\n\n\t\t\tFund.”);
getch();
}

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: