Skip to content

Commit

Permalink
Update and rename paradigma_7.3_switch_sel_128.cpp to paradigma_7.3_s…
Browse files Browse the repository at this point in the history
…witch1_sel_128.c
  • Loading branch information
NIC-DE authored Jan 14, 2024
1 parent b3fd58e commit e388497
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 43 deletions.
43 changes: 43 additions & 0 deletions paradigma_7.3_switch1_sel_128.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
#include<stdio.h>
#include<stdlib.h>
#include<conio.h>

char op;
int a,b,c;

main(void)
{
system("chcp 1253>nul");
printf("1.đńďóčĺóç\n2.áöáéńĺóç\n3.đďëëáđëáóéáóěďň\n4.äéáéńĺóç\n");
printf("\näéáëĺîĺ đńáîç:\t");
scanf("%c",&op);
scanf("%d %d",&a,&b);

switch(op)

{
case'+':c=a+b;
printf("đńďóčĺóç ĺéíáé %d",a+b);
break;
case '-':
printf("áöáéńĺóç ĺéíáé %d",a-b);
break;
case '*':
printf("đďëëáđëáóéáóěďň ĺéíáé %d",a*b);
break;
case '/':
printf("äéáéńĺóç ĺéíáé %d",a/b);
break;
default:
printf("ç ĺđéëďăç äĺí őđďóôçńéćĺôáé\n");
break;
}
getch();
}







43 changes: 0 additions & 43 deletions paradigma_7.3_switch_sel_128.cpp

This file was deleted.

0 comments on commit e388497

Please sign in to comment.