is any wrong because when running is cant show all code i write | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

is any wrong because when running is cant show all code i write

#include <stdio.h> #include <stdlib.h> int main() { int login = 2525, name [2000], username, choice, i, n, amount, studentname, temp, matrics[222], quiz, Quiz1, Quiz2, Assignment1, Assignment2, Assignment3, quiz1, quiz2, ass1, ass2, ass3, assignment, total, totalmark, transaction; printf("*******************STUDENT'S MARK MANAGEMENT SYSTEM*********************\n"); printf("Please enter your login number\n"); scanf("%d", &login); { if (login == 2525) { printf("Please enter username:\n"); scanf("%s", &name); printf("\nWelcome to Student's Mark Management System\n"); } else printf("Invalid login number, please try again.\n"); printf("\n"); { printf("********************STUDENT'S MARK MANAGEMENT SYSTEM********************\n"); printf("Please enter your login number again\n"); scanf("%d", &login); { if (login == 2525) { printf("Please enter username:\n"); scanf("%s", &name); printf("Successful login.\n"); printf("\nWelcome to Student's Mark Management System\n"); } else printf("\n"); } } do { printf("\n1. Menu list"); printf("\n2. Enter marks"); printf("\n3. Exit application"); printf("\n4. Clear screen"); printf("\n"); printf("\nPlease select your choice:"); scanf("%d", &choice); { switch(choice) { case 1 : printf("Enter the amount of record to be entered: "); scanf("%d",&amount); for (i = 0; i<amount; i++) { printf("\nEnter data for record #%d",i); fflush(stdin); printf("\nEnter Student's Name: "); scanf("%c",&studentname); scanf("%[^\n]",studentname); printf("\nEnter Matric: "); scanf("%d", &matrics); printf("\nEnter Quiz 1 mark (5%%):"); scanf("%f", &quiz1);

15th Nov 2020, 2:20 AM
NAT
NAT - avatar
3 Respostas
+ 6
Hi NAT, Please rather share a saved code link instead of raw text code like this. When the code is too big it will get truncated being posted as raw text, but it will not happen if you share a saved code link. Follow this guide to sharing a saved code link šŸ‘‡ https://www.sololearn.com/post/75089/?ref=app (Edited - Poster change profile name)
15th Nov 2020, 2:29 AM
Ipang
+ 1
Your code is not complete. Please save it in code playground and link it. Also add relevant tags: https://www.sololearn.com/discuss/1316935/?ref=app
15th Nov 2020, 2:29 AM
ä½ ēŸ„é“č¦å‰‡ļ¼Œęˆ‘也ę˜Æ
ä½ ēŸ„é“č¦å‰‡ļ¼Œęˆ‘也ę˜Æ - avatar
0
https://code.sololearn.com/ci0wYfQCfA9d/#cpp
15th Nov 2020, 3:03 AM
NAT
NAT - avatar