1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
kherson [118]
3 years ago
8

Write a structure declaration to hold the following data about a savings account: Account Number (string object) Account Balance

(double) Interest Rate (double) Average Monthly Balance (double)
Computers and Technology
1 answer:
Citrus2011 [14]3 years ago
4 0

Answer:

Explanation:

The following is written in C and creates a structure declaration named savingsAccount and adds all of the values into it as defined in the question.

struct savingsAccount {

char AccountNumber[] = "";

double AccountBalance;

double InterestRate;

double AverageMonthlyBalance;

}

You might be interested in
Which statement is true about the purpose of a work in process constraint?
NemiM [27]

The available options are:

A. It identifies possible constraints for Solution completion.

B. It helps analyze, approve, and track Portfolio Epics and Enablers.

C. It captures where all new "big" ideas come from.

D. It encourages collaboration and enables

Answer:

It identifies possible constraints for Solution completion

Explanation:

Work in Process is an activity or operational related term that describes a form of self-assigned restriction by a team or organization to aid them in regulating their responsibility, exercise corporate reasoning, and recognize alternatives for lasting development.

Hence, in this case, considering the available option, the correct answer is that Work in Process " identifies possible constraints for Solution completion."

3 0
4 years ago
Write an abstract data type for a queue in Java whose elements are generic elements of type T that have an associated integer pr
Nimfa-mama [501]

Answer:

See explaination

Explanation:

#include<iostream>

const int MAX=20;

class dque

{

private:

int arr[MAX];

int front,rear;

public:

dque();

void addqatbeg(char item);

void addqatend(char item);

int delqatbeg();

int delqatend();

void display();

int count();

};

dque::dque()

{

front=rear=-1;

for(int i=0;i<MAX;i++)

arr[i]=0;

}

void dque::addqatbeg(int item)

{

if(front==0&&rear==MAX-1){cout<<"\nDeque is full"<<endl;return;}

if(front==-1){front=rear=0;arr[front]=item;return;}

if(rear!=MAX-1)

{int c=count();int k=rear+1;

for(int i=1;i<=c;i++){arr[k]==arr[k-1];k--;}

arr[k]=item;front=k;rear++;

}

else{front--;arr[front]=item;}

}

void dque::addqatend(int item)

{

if(front==0&&rear==MAX-1){cout<<"\nDeque is full"<<endl;return;}

if(front==-1){front=rear=0;arr[rear]=item;return;}

if(rear==MAX-1){

int k=front-1;

for(int i=front-1;i<rear;i++){k=i;

if(k==MAX-1)arr[k]=0;

else arr[k]=arr[i+1];

}rear++;

arr[rear]=item;

}

int dque::delqatbeg()

{

if(front==-1){cout<<"\nDeque is empty"<<endl;return0;}

int item=arr[front];

arr[front]=0;

if(front==rear)front=rear=-1;

else

front++;

return item;

}

int dque::delqatend()

{

if(front==-1){cout<<"\nDeque is empty"<<endl;return 0;}

int item=arr[rear];

arr[rear]=0;

rear--;

if(rear==-1)front=-1;return item;

}

void dque::display()

{

cout<<endl<<"front->";

for(int i=0;i<MAX;i++)cout<<""<<arr[i];cout<<"<-rear";

}

int dque::count()

{

int c=0;

for (int i=0;i<MAX;i++){if(arr[i]!=0)c++;}

return c;}

}

7 0
4 years ago
Read 2 more answers
________ is a technique where the general characteristics are kept and the details are hidden.
valentinak56 [21]

Abstraction is a technique where the general characteristics are kept and the details are hidden.

<h3>What is abstraction?</h3>

Abstraction is the way a person used in  hiding information that are not needed or unwanted.

Note that one can use abstraction when using abstract class and interfaces and as such, Abstraction is a technique where the general characteristics are kept and the details are hidden.

Learn more about abstraction from

brainly.com/question/7994244

#SPJ1

5 0
2 years ago
The First Web page you will see every time you launch the Web Browser Application is called​
sineoko [7]

Answer:

HomePage

Explanation:

3 0
3 years ago
Help!!!
Butoxors [25]

Answer:

ummmm try the inequality protragathron theorum

Explanation:

ok

3 0
3 years ago
Other questions:
  • Which term represents a computational instruction stored in computer memory?
    13·2 answers
  • Add the function min as an abstract function to the class arrayListType to return the smallest element of the list. Also, write
    15·1 answer
  • On the UB-04 claim form, the type of bill is identified by a four-digit numerical code. The first digit is a leading zero, what
    10·1 answer
  • How do you scan a qr code on your iPhone
    5·2 answers
  • How do you answer a question on this app?!? Do you comment on the question? I need a reminder! (I haven't been on this app in a
    12·1 answer
  • In the movie, Willy Wonka and the Chocolate Factory, Augustus Gloop leans over the chocolate river to get a drink and falls in.
    11·1 answer
  • 1 Which of these is not an Operating System ?
    7·2 answers
  • HELP ASAP 50 POINTS AND BRAINLIST PLZ NO FAKE ANSWER I BEG!!!!!!!!!!!!!!!!!!!!!!!!!!
    15·2 answers
  • A 5G network will have the following advantages over a 4G network: a. Overall network support and operations costs are reduced,
    12·1 answer
  • Use a for loop to output the numbers from 50 to 65
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!