Following are the code in java to reverse any string without using reverse function.
import java.util.*; // import package
class Main // class
{
public static void main(String args[]) // main class in java
{
String s, r = ""; // string variable
Scanner out = new Scanner(System.in); // scanner classes to take input
System.out.println("Enter a string to reverse");
s = out.nextLine(); // input string
int l1 = s.length(); // finding length of string
l1=l1-1;
for ( int i = l1 ; i >= 0 ; i-- ) // for loop to reverse any string
{
r = r + s.charAt(i);
}
System.out.println(" The Reverse String is: "+r); // print reverse string
}
}
Explanation:
firstly we input any string ,finding the length of that string then after that iterating over the loop by using for loop and last display that reverse string
output
Enter a string to reverse
san ran
The Reverse String is: nar nas
Answer:
There are many C++ IDE in the market which can be supported with Linux operating System. Couple of them are NetBeans IDE, Code::Blocks, Eclipse etc. These are some common and standard IDEs used in the industry. There are many which are available in the market.
Explanation:
The process of installation is by downloading the installer and follow the steps that are prompted on the screen. Basically all the installers provide the necessary .exe files and driver files required for the installation. On downloading the installers click the .exe file ( executable file ) and follow the instructions. These IDEs are supported in Linux Operating System. The URLs for NetBeans IDE, Code::Blocks IDE and Eclipse IDE are as below.
NetBeans IDE : https://netbeans.org/features/cpp/index.html
Codeblocks IDE : http://www.codeblocks.org/
Eclipse IDE : https://www.eclipse.org/cdt/
Answer:
I would use one note or exel.
Explanation:
one note can be used for all students and exel is going to be useed for calculations.
C - the test feedback is quicker at the online school than at the bricks-and-mortar school :)