Enable contrast version

Tutor profile: George G.

Inactive
George G.
C programmer
Tutor Satisfaction Guarantee

Questions

Subject: Number Theory

TutorMe
Question:

what is the remainder when 84^120 is divided by 5 ?

Inactive
George G.
Answer:

84 mod 5 congruent 4 mod 5 4 mod 5 congruent -1 mod 5 -1^120 congruent 1 mod 5 so 84^120 mod 5 congruent 1 mod 5

Subject: Discrete Math

TutorMe
Question:

Prove that For all integers m, if m is even then 3m + 5 is odd.

Inactive
George G.
Answer:

m is even that means there is an integer K, such that m = 2 * K 3m + 5 will be 3(2K) +5 = 6K+5 = 6K + 4 + 1 = 2(3K+2) +1 let 3K+2 = q, where q is an integer the equation will be 2q + 1 which is odd

Subject: C Programming

TutorMe
Question:

Write a C programming code that calculates the sum of digits of a number until there is one digit left

Inactive
George G.
Answer:

/* this program calculates the sum of digits of a number until there is one digit left */ #include <stdio.h> #include <stdlib.h> int sum(int x){ int sum = 0; while(x>0){ sum+=x%10; x/=10; } return sum; } int main() { int num; printf("please enter the number : \n"); scanf("%d",&num); while(num>9) num = sum(num); printf("%d",num); return 0; }

Contact tutor

Send a message explaining your
needs and george will reply soon.
Contact george

Request lesson

Ready now? Request a lesson.
Start Lesson

FAQs

What is a lesson?
A lesson is virtual lesson space on our platform where you and a tutor can communicate. You'll have the option to communicate using video/audio as well as text chat. You can also upload documents, edit papers in real time and use our cutting-edge virtual whiteboard.
How do I begin a lesson?
If the tutor is currently online, you can click the "Start Lesson" button above. If they are offline, you can always send them a message to schedule a lesson.
Who are TutorMe tutors?
Many of our tutors are current college students or recent graduates of top-tier universities like MIT, Harvard and USC. TutorMe has thousands of top-quality tutors available to work with you.