Home > Back-end >  Using c to do
Using c to do

Time:09-18

Match the topic

CodePudding user response:

100 + 1 (N - 1) %

CodePudding user response:

reference 1st floor u010165006 response:
(N - 1) 100 + % 1


CodePudding user response:

# include & lt; Iostream>

using namespace std;

Int main ()
{
Int a, b;
cin> a ;
B=a % 100;
cout Return 0;
}

CodePudding user response:

reference ZJWSZ reply: 3/f
# include & lt; Iostream>

using namespace std;

Int main ()
{
Int a, b;
cin> a ;
B=a % 100;
cout Return 0;
}


If N is equal to 100 is wrong,

CodePudding user response:

reference 4 floor ooolinux response:
Quote: reference ZJWSZ reply: 3/f

# include & lt; Iostream>

using namespace std;

Int main ()
{
Int a, b;
cin> a ;
B=a % 100;
cout Return 0;
}


If N is equal to 100 is wrong,

What specific problems is?

CodePudding user response:

reference 5 floor ZJWSZ reply:
Quote: refer to 4th floor ooolinux response:
Quote: reference ZJWSZ reply: 3/f

# include & lt; Iostream>

using namespace std;

Int main ()
{
Int a, b;
cin> a ;
B=a % 100;
cout Return 0;
}


If N is equal to 100 is wrong,

What specific problems is?


N is equal to 100, the last number should be 100, not zero,

CodePudding user response:

refer to 6th floor ooolinux response:
Quote: refer to the fifth floor ZJWSZ reply:

Quote: refer to 4th floor ooolinux response:
Quote: refer to the third floor ZJWSZ response:

# include & lt; Iostream>

using namespace std;

Int main ()
{
Int a, b;
cin> a ;
B=a % 100;
cout Return 0;
}


If N is equal to 100 is wrong,

What specific problems is?


N is equal to 100, the last number should be 100, not zero, the

Before, I'm sorry, but there has been no see CSDN, so didn't reply to you now, at the back and makes a statement, the if (b==0) b=100;
  • Related