Jakiś problem?

C/C++ Podstawowe funkcje biblioteczne: puts, printf, scanf i gets

#include <studo.h>
int main(void)
{
    char imie [20];
    int i;
    printf(„\nPodaj imię:”);
    gets(imie);
    puts(„Ile masz lat”);
    scanf(„%d”, &i);
    printf(„\n%s ma %d lat.”, imie,i);
    return 0
}

scanf, printf: typ double %lf lub %le, typ long %ld

Dodaj komentarz

Twój adres e-mail nie zostanie opublikowany. Wymagane pola są oznaczone *