Skip to content

rbiodies/Exam_Rank-03

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

✅ Exam_Rank-03

The aim of the projects is to write a program that will read an "operation file" and print the result in the terminal.

Micro_paint

Example operation file:

10 10 _
r 1.2 1.2 3.01 3.02 j
R 5.2 5.2 7.01 7.02 j

Compilation

gcc micro_paint.c

Usage

./a.out <operation file>

Output

__________
__________
__jjj_____
__j_j_____
__jjj_____
__________
______jjjj
______jjjj
______jjjj
______jjjj

Mini_paint

Example operation file:

25 25 ,
C 11.45 11.86 10.3 o
c 11.45 11.86 10.3 $

Compilation

gcc mini_paint.c

Usage

./a.out <operation file>

Output

,,,,,,,,,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,
,,,,,,,,,$$$$$$,,,,,,,,,,
,,,,,,,$$oooooo$$,,,,,,,,
,,,,,$$oooooooooo$$,,,,,,
,,,,$$oooooooooooo$$,,,,,
,,,$$oooooooooooooo$,,,,,
,,,$oooooooooooooooo$,,,,
,,$ooooooooooooooooo$,,,,
,,$oooooooooooooooooo$,,,
,,$oooooooooooooooooo$,,,
,,$oooooooooooooooooo$,,,
,,$oooooooooooooooooo$,,,
,,$oooooooooooooooooo$,,,
,,$oooooooooooooooooo$,,,
,,$oooooooooooooooooo$,,,
,,,$oooooooooooooooo$,,,,
,,,$oooooooooooooooo$,,,,
,,,,$oooooooooooooo$,,,,,
,,,,,$oooooooooooo$,,,,,,
,,,,,,$ooooooooo$$,,,,,,,
,,,,,,,$$$oooo$$$,,,,,,,,
,,,,,,,,,,$$$$,,,,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,