The Spec book, describes a formatted writing which contains the major specifications and description of the building blocks of an application or process. The design process should follow formatting guidelines such as ;
- Inclusion of table of content, which gives a table like format of the content in the book within the first 25 pages.
- Inclusion of the Spec section number in the <em>header and footer section</em> of each page of the book.
- Avoid including any other value with the <em>spec section number</em>. Hence, the spec section number must be distinctly seperated.
Learn more : brainly.com/question/25648287
Answer:
// here is code in c++.
#include <bits/stdc++.h>
using namespace std;
// recursive function to print digit of number in revers order
void rev_dig(int num)
{
if(num==0)
return;
else
{
cout<<num%10<<" ";
// recursive call
rev_dig(num/10);
}
}
// driver function
int main()
{
int num;
cout<<"enter a number:";
// read the number from user
cin>>num;
cout<<"digits in revers order: ";
// call the function with number parameter
rev_dig(num);
return 0;
}
Explanation:
Read the input from user and assign it to variable "num". Call the function "rev_dig" with "num" parameter.In this function it will find the last digit as num%10 and print it. Then call the function itself with "num/10". This will print the second last digit. Similarly it will print all the digits in revers order.
Output:
enter a number:1234
digits in revers order: 4 3 2 1
Diagram :
Answer:
appreciate it i recommend hube halloween its out on netflix!
Explanation:
Answer:
Explanation:
The following is coded in Java. It asks the user for the number of inputs and then creates a loop to read all of the inputs and adds them to an ArrayList. Then it saves the last value in the array as the threshold. Finally, it loops through the array printing only the values less than or equal to the threshold. The program has been tested and the output can be seen in the image below.
import java.util.ArrayList;
import java.util.Scanner;
class Brainly {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
ArrayList<Integer> myList = new ArrayList<>();
System.out.println("How many inputs will you add? ");
int inputs = in.nextInt();
System.out.println("Enter inputs: ");
for (int i = 0; i< inputs; i++) {
int num = in.nextInt();
myList.add(num);
}
int threshold = myList.get(myList.size()-1);
System.out.println("Inputs Less than or Equal to Threshold: ");
for (int x: myList) {
if (x <= threshold) {
System.out.println(x);
}
}
}
}