Quick actions

cmd+k|ctrl+k

Navigation

Languages

Learn C Language

Snippet info

Language

C

Visibility

public

Author

mhdfahmi23

Created

2020-06-02T16:37:32Z

Updated

2020-06-02T16:38:11Z

//  LOOPING (o1)

#include <stdio.h>

void looping() { // Create looping function
    for (int i=1; i<=3; i++) {
        printf("Hello, Fahmi! Coding is easy.\n");   
    }
}

int main() {
    looping();
    return 0;
}

//  LOOPING (o2)

// #include <stdio.h>

// void mydata() { // Create looping function
//     printf("Hello, my name is Fahmi!\n");   
//     printf("I live in Kemiling, Bandar Lampung\n");   
//     printf("I'm a college student in Informatics Engineering, Institut Teknologi Sumatera\n");   
// }

// int main() { // Get looping function
//     mydata(); 
//     return 0;
// }
INFO