Explanation: The numbers in a hex are the same as decimal numbers: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9. The big difference between a hex and a decimal is that a hex also contains letters. These letters are: A, B, C, D, E, F. A hex number can be represented using a subscript of 16.
Answer:
public class TicTacToe //Defining TicTacToe class
{
char board[3][3] ; //Creating a 2D array instance variable
TicTacToe() //Constructor to initialize the array with " - "
{
for( int i = 0;i<3;i++) //Loop for the row of array
{
for(int j = 0;j<3;j++) //Loop for the column of array
{
Board[i][j] = '-'; //Assigning "-" in each cell
}
}
}
public char getter() //Defining getter() method to return the array
{
return Board; //returning the array
}
}
Answer:
Following are the code to the given question:
#include <iostream>//header file
using namespace std;
int main()//main method
{
int r=26,x,y;//defining integer variable
char c;//defining a character variable
for(x= 1; y<= r; x++)//using for loop for count value
{
for(y= 1; y<= x; y++)//using for loop to convert value in triangle
{
c=(char)(y+64);//convert value into character
cout << c;//print character value
}
cout << "\n";//use print method for line break
}
return 0;
}
Output:
Please find the attachment file.
Explanation:
In this code, three integer variable "x,y, and r", and one character variable "c" is declared, that is used in the nested for loop, in the first for loop it counts the character value and in the next for loop, it converts the value into a triangle and uses the char variable to print its character value.
Answer:
Explanation:
Exercise A:
1. A table.
2. Categorical.
3. Access.
4.Queries.
5.ACCDB extension.
Exercise B:
1. Insert Tab.
2. DoCmd.Quit method.
3.Navigation Pane.
4. Modify table data.
5.The top pane and the bottom pane.
Hope this helped you!
No it doesn’t count as an instrument