project-team-j

project-team-j created by GitHub Classroom


Project maintained by csci3251-2020 Hosted on GitHub Pages — Theme by mattgraham

Introduction

Here are the tasks that we gonna do:
Task 1: Starting issues @CaseyChu960617
Task 2: Project board @ntanryo9
Task 3: Set up readme.md @cwlo8
Task 4: Show your team to the Internet @IamMrandrew
Task 5: Keep checking… @saranyagupta05
Task 6: Write C code @kelvinwongbs
Task 7: Get a status badge @PeterShone
Task 8: Promote your repo @nikunj-cuhk

Code

#include <stdio.h>
#include <stdlib.h>

int main() {
    int test1_positive = rand() % 2;
    int test2_positive = rand() % 2;
    int test3_positive = rand() % 2;
    if (test1_positive) {
        if (test2_positive) {
            printf("Unfortunately! You are confirmed with COVID-19.");
        } else {
            if (test3_positive) {
                printf("Unfortunately! You are confirmed with COVID-19.");
            } else {
                printf("Congratulations! You are not infected!");
            }
        }
    } else {
        if (test2_positive) {
            if (test3_positive) {
                printf("Unfortunately! You are confirmed with COVID-19.");
            } else {
                printf("Congratulations! You are not infected!");
            }
        } else {
            printf("Congratulations! You are not infected!");
        }
    }

    return 0;
}

Contributors

    >> @chuckjee (Chuck-jee CHAU)

        >> I have worked on almost everything in this site!

    >> @CaseyChu0617 (Chu Kai Chun)

        >> Hello guys! I am responsible for task 1 and new to github!!

    >> @cwlo8 (Chau-Wa Lo)

        >> I have worked on almost nothing in this site!

    >> @kelvinwongbs (Kei Fung WONG)

        >> The above code is written by me.

    >> @ntanryo9 (Nicholas Tanryo)

        >> I have worked on almost everything in this site!

    >> @nikunj-cuhk (Nikunj Taneja)

        >> I thought this would be fun but never mind!

    >> @PeterShone (XIONG Jiajie)

        >> I am working on task 7 in this project!

    >> @sodenkin (Tsang Tsz Kin Brian)

        >> The above code is written by me and I am new to github

    >> @IamMrandrew (Yan Lap LI)

        >> Hello guys! I am new to github!!


Last updated: 2020-05-08 14:40:41 +0000