Answer:
//Here is the for loop in C.
for(n=10;n>0;n--)
{
printf("count =%d \n",n);
}
Explanation:
Since C is a procedural programming language.Here if a loop that starts with n=10; It will run till n becomes 0. When n reaches to 0 then loop terminates otherwise it print the count of n.
// here is code in C++.
#include <bits/stdc++.h>
using namespace std;
// main function
int main()
{ // variables
int n;
// for loop that runs 10 times
// when n==0 then loop terminates
for(n=10;n>0;n--)
{
cout<<"count ="<<n<<endl;
}
return 0;
}
Output:
count =10
count =9
count =8
count =7
count =6
count =5
count =4
count =3
count =2
count =1
Answer:
D. Point out the negative consequences of the behavior, so they see that the negative aspects do outweigh the positive aspects
Explanation:
Answer And explanation
a)
has 1/ probability guess the correct source
b)
Each element in is mapped by / . There are So there are -1 elements.
number of target elements =
number of source elements = -1
probability = -1 /
c) Probability of the correct target element
1/
Answer: this is a moral question, but here is my view
Explanation:
we get to learn about things like java which i am currently learning for AP computer science A