Malware can be hugely damaging to businesses as well as individuals. Hackers often use malware to try and gain entry into an organisation's systems or networks, from where they can access valuable data to steal and sell on.
 
        
                    
             
        
        
        
Explanation:
public class Int_List
 {
 protected int[] list;
 protected int numEle = 0;
  
 public Int_List( int size )
 {
 list = new int[size];
public void add( int value )
 {
 if ( numEle == list.length )
 {
 System.out.println( "List is full" );
 }
 else
 {
 list[numEle] = value;
 numEle++;
 }
 }
 public String toString()
 {
 String returnStr = "";
 for ( int x = 0; x < numEle; x++ )
 {
 returnStr += x + ": " + list[x] + "\n";
 }
 return returnStr;
 }
 }
public class Run_List_Test
 {
 public static void main( String[] args )
 {
  
 Int_List myList = new Int_List( 7 );
 myList.add( 102 );
 myList.add( 51 );
 myList.add( 202 );
 myList.add( 27 );
 System.out.println( myList );
 }
 }
Note: Use appropriate keyword when you override "tostring" method
 
        
             
        
        
        
Answer:
The program in C++ is as follows:
#include <iostream>
using namespace std;
int main(){
    int qty;
    float discount = 0;
    cout<<"Quantity: ";
    cin>>qty;
    int cost = qty * 100;
 {        
;        }
    cout<<"Cost: "<<cost - discount;
    return 0;
}
Explanation:
This declares the quantity as integer
    int qty;
This declares and initializes discount to 0
    float discount = 0;
This prompts the user for quantity
    cout<<"Quantity: ";
This gets input for quantity
    cin>>qty;
This calculates the cost
    int cost = qty * 100;
If cost is above 1000, a discount of 10% is calculated
 {        
;        }
This prints the cost
    cout<<"Cost: "<<cost - discount;
 
        
             
        
        
        
true
Screenshots are basically snapshots of your computer screen. You can take a screenshot of almost any program, website, or open window. PowerPoint makes it easy to insert a screenshot of an entire window or a screen clipping of part of a window in your presentation.