solve the linear congruence 17x≅9(mod 276), by using Chinese Remainder Theorem.
1
Expert's answer
2013-08-15T09:02:37-0400
#include <stdio.h> #include <iostream>
using namespace std;
int main() { cout << "Enter number of subjects: "; int n = 0; cin >> n; double grad = 0; cout << endl; for (int i = 0; i < n; ++i) { cout << "Enter grade of " << (i+1) << " subject: "; double g = 0; cin >> g; grad += g; } grad /= n; cout << endl << "Your average is " << grad << endl;
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment