Find Jobs
Hire Freelancers

math problems

$10-30 USD

완료함
게시됨 5년 이상 전

$10-30 USD

제출할때 지불됩니다
C LANGUAGE!! This assignment administers a math quiz to a student. The math questions are in the file /gaia/class/student/srivatss/csc60_18/shell/[login to view URL] There are 10 questions in the file , each question of the format : operator operand1 operand2 Step 1. Declare an array int quizData [ 30 ] and fill it up using the data that is available in the file. Do not write a program to read from the file. Step 2. Could you shuffle the questions. Step 3. Use a for loop to iterate through the array quizData to display each question and ask the user for a correct answer. If the answer is correct, display an encouraging text and update the score by one. For instance, the first question and the user response (in red) might be what is 6 plus 2 ? 8 Good Job. Your current score is : 1 The second question and the user response could be what is 9 minus 2 7 Good Job. Your current score is 2 The third question should be what is 3 times 4 12 Good Job. Your current score is 3 THIS IS THE FILE: #include<stdio.h> #include<stdlib.h> int quizData[30]; int readData() { int i, j; FILE *fp; fp = fopen("/gaia/class/student/srivatss/csc60_18/shell/[login to view URL]","r"); if (fp == NULL) { printf("Unable to open the file.\n"); exit(EXIT_FAILURE); } printf("The contents of the file are:\n", fp); i = 0 ; while ( 1 ) { char ch; ch = fgetc (fp); if ( ch == '+' || ch == '*' || ch == '-' || ch == '/' ) { printf ( "i=%c ", ch ); quizData[i++] = ch; // not casting, but I should actually fscanf ( fp, "%d", &quizData [i++]); printf ( "%d ", quizData [i-1] ); fscanf ( fp, "%d", &quizData [i++]); printf ( "%d \n ", quizData [i-1] ); } ch = fgetc (fp); if ( ch == EOF ) break; } fclose(fp); } main ( ) { readData(); int j, i; for ( j = 0; j < 30 ; j++) if (j % 3 == 0) printf("\n operator=%c ", quizData [j]); else printf("%d ", quizData [j]); }
프로젝트 ID: 17987406

프로젝트 정보

8 제안서
원격근무 프로젝트
활동 중 5년 전

돈을 좀 벌 생각이십니까?

프리랜서 입찰의 이점

예산 및 기간 설정
작업 결과에 대한 급여 수급
제안의 개요를 자세히 쓰세요
무료로 프로젝트에 신청하고 입찰할 수 있습니다
프로젝트를 수여된 사용자:
사용자 아바타
Hello, I am software engineer. I have read the description and I would like to work for you. For further details please inbox me. Thank you so much. Having Perfect Expertise in Required Programming Language and Frameworks made me capable to bid here.
$20 USD 1일에
4.8 (148 건의 리뷰)
6.1
6.1
8 이 프로젝트에 프리랜서들의 평균 입찰은 $23 USD입니다.
사용자 아바타
Hi C Expert here, well get your project done in very short time. Looking forward to work with you ..............
$20 USD 1일에
4.4 (26 건의 리뷰)
4.7
4.7
사용자 아바타
Hi we are expert in all kind of academic and professional problems in C, Python, Java. and we will provide you best solutions for it , we will have a long lasting working relation
$20 USD 1일에
4.7 (24 건의 리뷰)
4.2
4.2
사용자 아바타
Hi I have great experience in C programming language I will do this work asap, also I will provide you best service as you want. I will add comments on your code as well so that you can easily understand the code. Thank You.
$12 USD 1일에
4.9 (12 건의 리뷰)
3.4
3.4
사용자 아바타
Greetings for the day!! We have experience working on this subject. We ensure 100% QUALITY with ON-TIME Deliveries. Please allow us to take this opportunity. Thanks & Regards, Team@The24CarrotsInc 100% Satisfaction Of Deliverable
$25 USD 1일에
5.0 (11 건의 리뷰)
3.5
3.5
사용자 아바타
I am a programming contestant. I solve problems in C++ language. I can help you out in this project. You can discuss more details me in chat.
$18 USD 1일에
5.0 (2 건의 리뷰)
2.7
2.7
사용자 아바타
Very interesting project! If you see my profile, you can know I am a mathematics professional. I major in analysis, calculus, statistics, numerical computation, fractal geometry and chaos dynamics as well as elementary algebra(i.e Linear Algebra) and abstract algebra(i.e Group and Ring theory). I can complete your project in 1~2 days. If you have a chance to discuss with me, you will get the best result all the time in the future. Budgets will be determined after we discuss in detail. Regards.***
$50 USD 1일에
5.0 (1 건의 리뷰)
0.8
0.8

고객에 대한 정보

국기 (UNITED STATES)
sacramento, United States
4.9
7
결제 수단 확인
11월 16, 2017부터 회원입니다

고객 확인

감사합니다! 무료 크레딧을 신청할 수 있는 링크를 이메일로 보내드렸습니다.
이메일을 보내는 동안 문제가 발생했습니다. 다시 시도해 주세요.
등록 사용자 전체 등록 건수(일자리)
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
미리 보기 화면을 준비 중...
위치 정보 관련 접근권이 허용되었습니다.
고객님의 로그인 세션이 만료되어, 자동으로 로그아웃 처리가 되었습니다. 다시 로그인하여 주십시오.