Sayıların printf Fonksiyonuyla Formatlanması sayfa 78

This commit is contained in:
Mert Gör
2025-03-07 07:38:02 +03:00
parent ab93cf0e5b
commit c03b39a30b
6 changed files with 77 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
#include <stdio.h>
#include <ncurses.h>
int main(void)
{
char ch;
do
{
printf("(e)vet/(h)ayir?");
ch = getch();
printf("%c\n", ch);
} while (ch != 'e' && ch != 'h');
if (ch == 'e')
printf("evet secildi\n");
else
printf("hayir secildi\n");
return 0;
}