Unit 4: Lesson 1 - Coding Activity 3

Write a program that requests the user to input a word, then prints out the first two letters - then skips a letter - then prints out the next two consecutive letters - then skips a letter - then this process repeats through the rest of the word.

Hint #1 - You will need to use the substring method inside a loop in order to determine which letters of the String should be printed.

Hint #2 - You can use the length method on the String to work out when this loop should end.

Sample run #1:
Input a word:
calculator
cacuatr
Sample run #2:
Input a word:
okay
oky

/* Lesson 1 Coding Activity Question 3 */

import java.util.Scanner;

public class U4_L1_Activity_Three
{
public static void main(String[] args)
{
Scanner scan = new Scanner(System.in);
System.out.println("Input a word:");
String word = scan.nextLine();

int index = 0;
while (index < word.length()){
if
}

}
}

Answers

Answer 1

The program will be:

import java.util.*;

public class Main

{

   //main driver method

public static void main(String[] args) {

    //get user input

    Scanner sc = new Scanner(System.in);

 System.out.print("Input a word: " );

 String inp = sc.next();

 //first index to be skipped is 2

 //as we are considering 0 based indexing

 int j=2;

 String res="";

 //iterate through the input

 for(int i=0;i<inp.length();i++)

 {

     //check if we are at the 2nd, 5th, 8th.. characters

     //if yes then skip and continue

     if(i==j)

     {

         j=j+3;

         continue;

     }

     //else append to string

     else

     {

         res=res+inp.charAt(i);

     }

 }

 System.out.print("The output is: "+res);

}

What is a program?

C++ is a powerful general-purpose programming language. It can be used to develop operating systems, browsers, games, and so on. The best programming language for developing embedded system drivers and applications is C.

This language is the most widely used due to the availability of machine-level hardware APIs, C compilers, dynamic memory allocation, and deterministic resource consumption.

Learn more about program on:

https://brainly.com/question/1538272

#SPJ1

Unit 4: Lesson 1 - Coding Activity 3Write A Program That Requests The User To Input A Word, Then Prints

Related Questions

what do you mean by an ISP? why do we need a modem to access the internet? name any two Internet browsers​

Answers

Answer:

ISP means INTERNET SERVICE PROVIDER. These are organisations that provide internet to public.

Modems are needed to access the internet as they act like a server for us to get internet.

Internet browsers-

1. Goo.gle Chrom.e

2. Micro.soft Ed.ge

3. Fire.fox

you have a table for a membership database that contains the following fields: MemberLatName, MemberFirstName, Street, City, State, ZipCode and intiation fee. there are 75,000records in the table. what indexes would you create for the table, and why would you create these indexes?

Answers

A unique lookup table called an index is used to speed performance

What is lookup function?

Use the lookup and reference function LOOKUP when you need to search a single row or column and find a value from the same position in another row or column. As an example, let's say you have the part number for a car part but don't know how much it costs.

We employ we lookup since?

Use VLOOKUP when you need to search by row in a table or a range. For instance, you could use the employee ID to look up a person's name or the part number to check the price of a car part.

To know more about speed visit:-

https://brainly.com/question/17661499

#SPJ1

productivity is the combination of

Answers

Answer:

Productivity is the combination of efficiency and effectiveness.

Explanation:

Question 2: Fill in the blanks i. In MS Excel, keyboard shortcut keys to create a new workbook is ii. The extension of a Microsoft Excel file is xx iii. The intersection of a column and a row in a worksheet is called ell dri+x iv. To return frequent value of the cell in a given range, mode function is used. v. Applying a formatting without any criteria is called_normal formatting [5]​

Answers

It is to be noted tht the words used to fill in the blanks for the MS Excel prompt above are:

i. Ctrl + N

ii. .xlsx

iii. cell

iv. mode

v. default formatting.

What are the completed sentences?

The completed sentences are

i. In MS Excel, keyboard   shortcut keys to create a new workbook is "Ctrl + N".

ii. The extension of aMicrosoft Excel file is ".xlsx".

iii. The intersection of a column and a row in a worksheet is called a "cell".

iv. To return the most   frequent value of a cell in a given range, the mode function is used.

v. Applying formatting without any criteria is called "default formatting".

Learn more about MS Excel at:

https://brainly.com/question/24749457

#SPJ1

Your company has three divisions. Each group has a network, and all the networks are joined together. Is this still a LAN?

Answers

No, this is not a LAN anymore (Local Area Network). A local area network, or LAN, is a type of network that links devices in a restricted region, like a campus or a single building.

Which kind of network connects a business?

Several LANs are linked together by a WAN, or wide area network. It is perfect for businesses as they expand because it is not location-restricted in the same way that LANs are. They make it possible to communicate with various audiences and might be crucial for global businesses.

If your client just has a small number of computer units, what kind of network would you suggest?

This paradigm works well in contexts where tight security is not required, such as tiny networks with only a few computers.

To know more about LAN visit:-

https://brainly.com/question/13247301

#SPJ1

In this lab, you use what you have learned about searching an array to find an exact match to complete a partially prewritten C++ program. The program uses an array that contains valid names for 10 cities in Michigan. You ask the user to enter a city name; your program then searches the array for that city name. If it is not found, the program should print a message that informs the user the city name is not found in the list of valid cities in Michigan.

The file provided for this lab includes the input statements and the necessary variable declarations. You need to use a loop to examine all the items in the array and test for a match. You also need to set a flag if there is a match and then test the flag variable to determine if you should print the the Not a city in Michigan. message. Comments in the code tell you where to write your statements. You can use the previous Mail Order program as a guide.

Instructions
Ensure the provided code file named MichiganCities.cpp is open.
Study the prewritten code to make sure you understand it.
Write a loop statement that examines the names of cities stored in the array.
Write code that tests for a match.
Write code that, when appropriate, prints the message Not a city in Michigan..
Execute the program by clicking the Run button at the bottom of the screen. Use the following as input:
Chicago
Brooklyn
Watervliet
Acme

Answers

Based on your instructions, I assume the array containing the valid names for 10 cities in Michigan is named michigan_cities, and the user input for the city name is stored in a string variable named city_name.

Here's the completed program:

#include <iostream>

#include <string>

int main() {

   std::string michigan_cities[10] = {"Ann Arbor", "Detroit", "Flint", "Grand Rapids", "Kalamazoo", "Lansing", "Muskegon", "Saginaw", "Traverse City", "Warren"};

   std::string city_name;

   bool found = false;  // flag variable to indicate if a match is found

   std::cout << "Enter a city name: ";

   std::getline(std::cin, city_name);

   for (int i = 0; i < 10; i++) {

       if (city_name == michigan_cities[i]) {

           found = true;

           break;

       }

   }

   if (found) {

       std::cout << city_name << " is a city in Michigan." << std::endl;

   } else {

       std::cout << city_name << " is not a city in Michigan." << std::endl;

   }

   return 0;

}

In the loop, we compare each element of the michigan_cities array with the user input city_name using the equality operator ==. If a match is found, we set the found flag to true and break out of the loop.

After the loop, we use the flag variable to determine whether the city name was found in the array. If it was found, we print a message saying so. If it was not found, we print a message saying it's not a city in Michigan.

When the program is executed with the given input, the output should be:

Enter a city name: Chicago

Chicago is not a city in Michigan.

Enter a city name: Brooklyn

Brooklyn is not a city in Michigan.

Enter a city name: Watervliet

Watervliet is a city in Michigan.

Enter a city name: Acme

Acme is not a city in Michigan.

Read more about programs here:

https://brainly.com/question/26134656

#SPJ1

What is the most likely reason a user would export data with the formatting in place?

A) The fields will not have any errors.

B) The file will be much easier to read.

C) The file is automatically spellchecked.

D) The columns are automatically alphabetized.

What is the most likely reason a user would export data with the formatting in place?A) The fields will

Answers

Answer:

its d

Explanation:

Answer:

its b on edge

Explanation:

believe me if youre a viber

Python The Sieve of Eratosthnes Prgram
A prime integer is any integer greater than 1 that is evenly divisible only by itself and 1. The Sieve of Eratosthenes is a method of finding prime numbers. It operates as follows:
Create a list with all elements initialized to 1 (true). List elements with prime indexes will remain 1. All other elements will eventually be set to zero.
Starting with list element 2, every time a list element is found whose value is 1, loop through the remainder of the list and set to zero every element whose index is a multiple of the index for the element with value 1. For list index 2, all elements beyond 2 in the list that are multiples of 2 will be set to zero (indexes 4, 6, 8, 10, etc.); for list index 3, all elements beyond 3 in the list that are multiples of 3 will be set to zero (indexes 6, 9, 12, 15, etc.); and so on.
When this process is complete, the list elements that are still set to 1 indicate that the index is a prime number. These indexes can then be printed. Write a program that uses a list of 1000 elements to determine and print the prime numbers between 2 and 999. Ignore element 0 of the list. The prime numbers must be printed out 10 numbers per line.
Sample Executions:

Prime numbers between 2 and 999 as determined by the Sieve of Eratosthenes.
2 357 11 13 17 19 23 29
31 37 41 43 47 53 59 61 67 71
73 79 83 89 97 101 103 107 109 113
127 131 137 139 149 151 157 163 167 173
179 181 191 193 197 199 211 223 227 229
233 239 241 251 257 263 269 271 277 281
283 293 307 311 313 317 331 337 347 349
353 359 367 373 379 383 389 397 401 409
419 421 431 433 439 443 449 457 461 463
467 479 487 491 499 503 509 521 523 541
547 557 563 569 571 577 587 593 599 601
607 613 617 619 631 641 643 647 653 659
661 673 677 683 691 701 709 719 727 733
739 743 751 757 761 769 773 787 797 809
811 821 823 827 829 839 853 857 859 863
877 881 883 887 907 911 919 929 937 941
947 953 967 971 977 983 991 997

Answers

Answer:

try this

Explanation:

def SieveOfEratosthenes(n):

  prime = [True for i in range(n+1)]

  p = 2

  while (p * p <= n):

      if (prime[p] == True):

          for i in range(p * p, n+1, p):

              prime[i] = False

      p +=1

  c=0

  for p in range(2, n):

      if prime[p]:

          print(p," ",end=" ")

          c=c+1

      if(c==10):

          print("")

          c=0

n= 1000

print("prime number between 2 to 999 as determined by seive of eratostenee ")

SieveOfEratosthenes(n)

Will mark brainliest if correct!
Code to be written in python

A deferred annuity is an annuity which delays its payouts. This means that the payouts do not start until after a certain duration. Notice that a deferred annuity is just a deposit at the start, followed by an annuity. Your task is to define a Higher-order Function that returns a function that takes in a given interest rate and outputs the amount of money that is left in a deferred annuity.

Define a function new_balance(principal, gap, payout, duration) that returns a single-parameter function which takes in a monthly interest rate and outputs the balance in a deferred annuity. gap is the duration in months before the first payment, payout is monthly and duration is just the total number of payouts.

Hint: Note that duration specifies the number of payouts after the deferment, and not the total duration of the deferred annuity. You are NOT ALLOWED to use string formatting and YOU SHOULD USE previous definitions of deposit and balance to answer this question!

def new_balance(principal, gap, payout, duration):
# Complete the function
return

Definitions of previous functions deposit and balance:

def deposit(principal, interest, duration):
total = principal * ((1+ interest )** duration)
return total

def balance(principal, interest, payout, duration):
for i in range(duration): #iterating for duration number of times
principal = principal*(1+interest) #compounding the principat
principal = principal-payout #subtracting payout from principal
return principal

How to run your code?
# e.g.
# test_balance = new_balance(1000, 2, 100, 2)
# result = test_balance(0.1)

Test Case:
new_balance(1000, 2, 100, 2)(0.1)
output: 1121.0

Answers

Using the knowledge in computational language in python it is possible define a function new_balance that returns a single-parameter function which takes in a monthly interest rate and outputs the balance in a deferred annuity.

Writting the code:

def new_balance(principal, gap, payout, duration):

'''

Function to calculate the balance in a deferred annuity.

principal: the amount deposited at the start

gap: the duration in months before the first payment

payout: monthly payout

duration: the number of payouts after the deferment

'''

# define the inner function

def balance(rate):

 '''

 Function to calculate the balance, given the monthly interest rate

 '''

 # first calculate the interest earned during the deferment period

 interest = principal * (1 + rate) ** gap - principal

# then calculate the balance after the first payout

 balance = interest + principal - payout

# then loop through the remaining payouts, calculating the balance after each one

 for i in range(duration - 1):

  balance = balance * (1 + rate) - payout

 # finally, return the balance

 return balance

return balance

test_balance = new_balance(1000, 2, 100, 2)

result = test_balance(0.1)

print("{:.1f}".format(result))

See more about python at brainly.com/question/18502436

#SPJ1

Will mark brainliest if correct!Code to be written in pythonA deferred annuity is an annuity which delays

Which is the best explanation for why tutorials are useful?

Answers

Answer:

Tutorials are important for your learning because you can:

Solve problems in a team, develop your group skills, and get to know your peers better (which may come in handy when picking group members for group projects) Prepare for and/or review midterms and exams. Clarify any concepts that you might not understand.

Explanation:

Hope it helps

what are logic gates ?​

Answers

Explanation:

idealized model of computation or physical electronic device implementing a Boolean function, a logical operation performed on one or more binary inputs that produces a single binary output. 

A logic gate is an idealized model of computation or physical electronic device implementing a Boolean function, a logical operation performed on one or more binary inputs that produces a single binary output.

You are given an array of integers, each with an unknown number of digits. You are also told the total number of digits of all the integers in the array is n. Provide an algorithm that will sort the array in O(n) time no matter how the digits are distributed among the elements in the array. (e.g. there might be one element with n digits, or n/2 elements with 2 digits, or the elements might be of all different lengths, etc. Be sure to justify in detail the run time of your algorithm.

Answers

Answer:

Explanation:

Since all of the items in the array would be integers sorting them would not be a problem regardless of the difference in integers. O(n) time would be impossible unless the array is already sorted, otherwise, the best runtime we can hope for would be such a method like the one below with a runtime of O(n^2)

static void sortingMethod(int arr[], int n)  

   {  

       int x, y, temp;  

       boolean swapped;  

       for (x = 0; x < n - 1; x++)  

       {  

           swapped = false;  

           for (y = 0; y < n - x - 1; y++)  

           {  

               if (arr[y] > arr[y + 1])  

               {  

                   temp = arr[y];  

                   arr[y] = arr[y + 1];  

                   arr[y + 1] = temp;  

                   swapped = true;  

               }  

           }  

           if (swapped == false)  

               break;  

       }  

   }

Which of the following network topology is most expensive
to implement and maintain?

Answers

The option of the network topology that is known to be the most expensive to implement and maintain is known to be called option (b) Mesh.

What is Network topology?

Network topology is known to be a term that connote the setting of the elements that pertains to a communication network.

Note that Network topology can be one that is used to state or describe the pattern of arrangement of a lot of different types of telecommunication networks.

Therefore, The option of the network topology that is known to be the most expensive to implement and maintain is known to be called option (b) Mesh.

Learn more about network topology from

https://brainly.com/question/17036446

#SPJ1

Which of the following is the most expensive network topology?

(a) Star

(b) Mesh

(c) Bus

Acellus Java coding ive been stuck on this problem for so long

Acellus Java coding ive been stuck on this problem for so long

Answers

Based on the Acellus Java coding problem, in order to skip a red path, use "continue;" statement.

How does this work?

Use "continue;" to skip a red path in Java programming when iterating through a loop.

This statement skips the current iteration and continues with the next iteration of the loop.

For example, in a loop iterating through a list of paths, you can check if the current path is red, and if it is, use "continue;" to skip it and move on to the next path. This allows you to bypass the red path and continue with the loop.

Read more about Java here:

https://brainly.com/question/26789430

#SPJ1

Write a program that computes the minimum, maximum, average, median and standard deviation of the population over time for a borough (entered by the user). Your program should assume that the NYC historical population data file, nycHistPop.csv is in the same directory.

Answers

Answer:

import pandas as pd

df = pd.read_csv('nycHistPop_csv', skiprows=5)

NY_region = list(df.columns[1: -1])

select_region = input("Enter region: ")_capitalize()

if select_region in NY_region:

   pass

else:

   raise("Region must be in New york")

def pop(location):

   # or used describe() to replace all like: print(df[location]_describe())

   print(df[location]_min())

   print(df[location]_max())

   print(df[location]_mean())

   print(df[location]_median())

   print(df[location]_td())

pop(select_region)

Explanation:

Pandas is a python packet that combines the power of numpy and matplotlib used for data manipulation. It is good for working with tables that are converted to dataframes.

The nycHistPop_csv file is read to the code to a dataframe called "df", then the user input and the function "pop" is used to automatically generate the statistics of a given region.

Select all the correct answers.
Shari is using a word processor to type a recipe for making chocolate chip cookies. Which of the following tasks can she perform using the tools provided in the word processor?

include a numbered list of steps in the procedure

insert an image of the chocolate chip cookies

email the recipe to her friend as an attachment

convert quantities measured in cups to metric units

print a copy of the recipe to have handy while baking

Answers

Answer:

The correct options are:

include a numbered list of steps in the procedure

insert an image of the chocolate chip cookies  

email the recipe to her friend as an attachment

print a copy of the recipe to have handy while baking

Explanation:

Microsoft word provides several features which can be used to perform different tasks.

Lets look at each option one by one:

include a numbered list of steps in the procedure

The Bullets and Numbering" feature can be used for this purpose.

insert an image of the chocolate chip cookies

Can be inserted via "Add picture" Option

email the recipe to her friend as an attachment

"Share" option can be used for this purpose.

convert quantities measured in cups to metric units

Calculations cannot be done in MS word

print a copy of the recipe to have handy while baking

Print option can be used for this purpose.

Hence,

The correct options are:

include a numbered list of steps in the procedure

insert an image of the chocolate chip cookies  

email the recipe to her friend as an attachment

print a copy of the recipe to have handy while baking

This program extends the earlier "Online shopping cart" program. (Consider first saving your earlier program).

(1) Extend the ItemToPurchase struct to contain a new data member. (2 pt)

char itemDescription[ ] - set to "none" in MakeItemBlank()
Implement the following related functions for the ItemToPurchase struct.

PrintItemDescription()
Has an ItemToPurchase parameter.

(2) Create three new files:

ShoppingCart.h - struct definition and related function declarations
ShoppingCart.c - related function definitions
main.c - main() function (Note: main()'s functionality differs from the warm up)
Build the ShoppingCart struct with the following data members and related functions. Note: Some can be function stubs (empty functions) initially, to be completed in later steps.

Data members (3 pts)
char customerName [ ]
char currentDate [ ]
ItemToPurchase cartItems [ ] - has a maximum of 10 slots (can hold up to 10 items of any quantity)
int cartSize - the number of filled slots in array cartItems [ ] (number of items in cart of any quantity)
Related functions
AddItem()
Adds an item to cartItems array. Has parameters of type ItemToPurchase and ShoppingCart. Returns ShoppingCart object.
RemoveItem()
Removes item from cartItems array (does not just set quantity to 0; removed item will not take up a slot in array). Has a char[ ](an item's name) and a ShoppingCart parameter. Returns ShoppingCart object.
If item name cannot be found, output this message: Item not found in cart. Nothing removed.
ModifyItem()
Modifies an item's description, price, and/or quantity. Has parameters of type ItemToPurchase and ShoppingCart. Returns ShoppingCart object.
GetNumItemsInCart() (2 pts)
Returns quantity of all items in cart. Has a ShoppingCart parameter.
GetCostOfCart() (2 pts)
Determines and returns the total cost of items in cart. Has a ShoppingCart parameter.
PrintTotal()
Outputs total of objects in cart. Has a ShoppingCart parameter.
If cart is empty, output this message: SHOPPING CART IS EMPTY
PrintDescriptions()
Outputs each item's description. Has a ShoppingCart parameter.

(3) In main(), prompt the user for a customer's name and today's date. Output the name and date. Create an object of type ShoppingCart. (1 pt)

(4) Implement the PrintMenu() function in main.c to print the following menu of options to manipulate the shopping cart. (1 pt)
(5) Implement the ExecuteMenu() function in main.c that takes 2 parameters: a character representing the user's choice and a shopping cart. ExecuteMenu() performs the menu options (described below) according to the user's choice, and returns the shopping cart. (1 pt)


(6) In main(), call PrintMenu() and prompt for the user's choice of menu options. Each option is represented by a single character.

If an invalid character is entered, continue to prompt for a valid choice. When a valid option is entered, execute the option by calling ExecuteMenu() and overwrite the shopping cart with the returned shopping cart. Then, print the menu and prompt for a new option. Continue until the user enters 'q'. Hint: Implement Quit before implementing other options. (1 pt)

(7) Implement the "Output shopping cart" menu option in ExecuteMenu(). (3 pts)
8) Implement the "Output item's description" menu option in ExecuteMenu(). (2 pts)
(9) Implement "Add item to cart" menu option in ExecuteMenu(). (3 pts)
(10) Implement the "Remove item from cart" menu option in ExecuteMenu(). (4 pts)
(11) Implement "Change item quantity" menu option in ExecuteMenu(). Hint: Make new ItemToPurchase object before using ModifyItem() function. (5 pts)

Answers

Answer:

To create an online shopping cart. You need to do the following:

Update the ItemToPurchase struct to include a new data member called itemDescription.

Create three new files: ShoppingCart.h, ShoppingCart.c, and main.c.

Build the ShoppingCart struct with the following data members: customerName, currentDate, cartItems (which can hold up to 10 items of any quantity), and cartSize.

Implement the AddItem, RemoveItem, ModifyItem, GetNumItemsInCart, GetCostOfCart, PrintTotal, and PrintDescriptions functions for the ShoppingCart struct.

In the main function, prompt the user for a customer's name and today's date, and create an object of type ShoppingCart.

Implement a menu of options to manipulate the shopping cart in the PrintMenu function in main.c.

Implement the ExecuteMenu function in main.c to perform the menu options according to the user's choice.

Implement the "Output shopping cart" menu option in ExecuteMenu.

Implement the "Output item's description" menu option in ExecuteMenu.

Implement the "Add item to cart" menu option in ExecuteMenu.

Implement the "Remove item from cart" menu option in ExecuteMenu.

Implement the "Change item quantity" menu option in ExecuteMenu.

Note: Each step has a point value assigned to it, and some steps have hints provided.

What feature allows a person to key on the new lines without tapping the return or enter key

Answers

The feature that allows a person to key on new lines without tapping the return or enter key is called word wrap

How to determine the feature

When the current line is full with text, word wrap automatically shifts the pointer to a new line, removing the need to manually press the return or enter key.

In apps like word processors, text editors, and messaging services, it makes sure that text flows naturally within the available space.

This function allows for continued typing without the interruption of line breaks, which is very helpful when writing large paragraphs or dealing with a little amount of screen space.

Learn more about word wrap at: https://brainly.com/question/26721412

#SPJ1

SQL provides all the necessary functionalities for managing and analyzing big data. Group of answer choices True

Answers

SQL provides all the necessary functionalities for managing and analyzing big data is a true statement.

What is the role of SQL?

SQL is known to be a term that connote Structured Query Language (SQL). It is regarded as  a standardized programming language that is often employed to handle relational databases and carry out various operations on the data in them.

It is often used by big firms to access, read, work on , and analyze the data stored in a database and they also help to get useful insights to push an informed decision-making process.

Learn more about SQL from

https://brainly.com/question/25694408

What is block chain?

Answers

Answer:

Block Chain is a system of recording information that makes it difficult or impossible to change, hack, or cheat the system.

A blockchain is essentially a digital ledger of transactions that is duplicated and distributed across the entire network of computer systems on the blockchain.

Hope this helps.

x

Blockchain is a distributed database existing on multiple computers at the same time. It is constantly growing as new sets of recordings, or ‘blocks’, are added to it. Each block contains a timestamp and a link to the previous block, so they actually form a chain. The database is not managed by any particular body; instead, everyone in the network gets a copy of the whole database. Old blocks are preserved forever and new blocks are added to the ledger irreversibly, making it impossible to manipulate by faking documents, transactions, and other information. All blocks are encrypted in a special way, so everyone can have access to all the information but only a user who owns a special cryptographic key is able to add a new record to a particular chain.

program a macro on excel with the values: c=0 is equivalent to A=0 but if b is different from C , A takes these values

Answers

The followng program is capable or configuring a macro in excel

Sub MacroExample()

   Dim A As Integer

   Dim B As Integer

   Dim C As Integer

   

   ' Set initial values

   C = 0

   A = 0

   

   ' Check if B is different from C

   If B <> C Then

       ' Assign values to A

       A = B

   End If

   

   ' Display the values of A and C in the immediate window

   Debug.Print "A = " & A

   Debug.Print "C = " & C

End Sub

How does this work  ?

In this macro, we declare three integer   variables: A, B, and C. We set the initial value of C to 0 and A to 0.Then, we check if B is different from C using the <> operator.

If B is indeed different from C, we assign the value of B to A. Finally, the values of A and C are displayed   in the immediate window using the Debug.Print statements.

Learn more about Excel:
https://brainly.com/question/24749457
#SPJ1

Write a program in which given an integer num, return the sum of the multiples of num between 1 and 100. For example, if num is 20, the returned value should be the sum of 20, 40, 60, 80, and 100, which is 300. If num is not positive, return 0.

Answers

Answer:

#include<iostream>

using namespace std;

int main()

{

  int num=0,sum=0;

  cout<<"Insert Number to find sum of mutiples.";

  cin>>num;

  int temp=num;

  if(num>0){

   sum+=num;

  while(num<100){

        num+=temp;

  sum+=num;

         

  }

  cout<<"Sum of Multiples is ="<<sum<<endl;

  }else{

  return 0;

  }

return 0;

}

Explanation:

This code is written in c++. Written by Saad-Ur-Rehman.

You are hired as an IT consultant for the government owned mobile operating company, Teletalk. Based on the following scenario, make a report for the decision makers to resolve the stated problems.
Despite aggressive campaigns to attract customers with lower call rates and internet packages, Teletalk has been losing a large number of its subscribers (users). Management wants to know why so many customers are leaving Teletalk and what can be done to attract them back. Are customers deserting because of poor customer service, uneven network coverage, wireless service charges, or competition from other mobile operators with extra services (GP/BL)? How can the company use information systems to help find the answer? What management decision could be made using information from these systems? What competitive strategy Teletalk can develop using information systems and how?

Answers

Answer:

An IT consulting report may be a transcript created via an IT professional that addresses all the possible aspects of an enterprise or a corporation. It is often an aggressive analysis report, Project reputation report, Business Plan report, or a Supply Chain Model file

Let's see how to write this kind of report

(1) Introduction.

(2) Point out the problems.

(3) Addressing the problems.

(4) business model and competitive analysis.

(5) Conclusion.

Explanation:

Teletalk may be a government telecommunication company. it's been going out of the marketplace for quite a little bit of time and is thanks to a scarcity of human resources and innovative applications within the field.

The company uses outdated Customer Management Systems (CMS) now so as to research potential customers and gather information about them. they need to be battling retaining customers after a brief period of your time. Their customer service isn't fair and therefore the customers aren't satisfied with the service provided by the corporate.

In order to function well, they need to implement enterprise resource planning ( ERP) data systems.

A data system is everything starting from Human resources to hardware and software. they will be applied everywhere from Customer Retainment and Engagement they're termed as Customer Management Systems and if it's wont to Business Model of any organization then it's referred to as Enterprise Resource Planning Systems (ERP).

By incorporating information systems in teletalk there is often a performance improvement in Sales, Management, Technology, and D-S (Demand-Supply Model).

All these are going to be an excellent advantage to teletalk so teletalk should anticipate innovating the present system with a more reliable and efficient one

Diversity in the workplace is also represented by four different generations. Name and explain the characteristics of each generations.

Answers

The Names  and explanation of the characteristics of each generations is given below.

What is the Diversity  about?

They are:

Traditionalists/Silent Generation (Born before 1946): This generation grew up during times of economic depression and war, and they tend to value hard work, loyalty, and respect for authority. They are known for their strong work ethic, discipline, and adherence to rules and traditions. They may have a more conservative approach to technology and may prefer face-to-face communication. Traditionalists value stability, loyalty, and are typically motivated by a sense of duty and responsibility.

Baby Boomers (Born between 1946 and 1964): This generation witnessed significant social and cultural changes, such as the civil rights movement and the Vietnam War. They are often characterized by their optimistic and idealistic outlook, and they value teamwork, collaboration, and personal fulfillment in the workplace. Baby Boomers are known for their dedication to their careers and may have a strong work-life balance perspective. They may prefer phone or email communication and are generally motivated by recognition, promotions, and financial rewards.

Generation X (Born between 1965 and 1980): This generation grew up in a time of economic instability and rapid technological advancement. They are known for their independence, adaptability, and self-reliance. Generation X tends to value work-life balance, flexibility, and autonomy in the workplace. They may prefer digital communication methods, such as email or instant messaging, and are generally motivated by opportunities for growth, learning, and work-life integration.

Lastly, Millennials/Generation Y (Born between 1981 and 1996): This generation came of age during the digital revolution and globalization. They are known for their tech-savviness, diversity, and desire for meaningful work. Millennials value work-life balance, flexibility, and social responsibility in the workplace. They prefer digital communication methods, such as text messages or social media, and are motivated by opportunities for career advancement, purpose-driven work, and work-life integration.

Read more about Diversity here:

https://brainly.com/question/26794205

#SPJ1

Which of the following is the best example of a purpose of e-mail?
rapidly create and track project schedules of employees in different locations
easily provide printed documents to multiple people in one location
quickly share information with multiple recipients in several locations
O privately communicate with select participants at a single, common location

Answers

Answer:

The best example of a purpose of email among the options provided is: quickly share information with multiple recipients in several locations.

While each option serves a specific purpose, the ability to quickly share information with multiple recipients in different locations is one of the primary and most commonly used functions of email. Email allows for efficient communication, ensuring that information can be disseminated to multiple individuals simultaneously, regardless of their physical location. It eliminates the need for physical copies or face-to-face interactions, making it an effective tool for communication across distances.

Explanation:

What is the "canvas" in an image editing program?
Select one:
O a. This is the name of the color-choosing screen.
O b. This is the bar where all the menu options are found.
O c. This is your main drawing area in the center of the screer
O d. This is the list of tools that are available in the software.

Answers

Answer:

I think

Explanation:

The correct answer is C

I have the ability to store 12 bits. What is the highest decimal number I can represent?

Answers

Answer:

4096 (4 K)

Hope you got it

 If you have any question just ask me

If you think this is the best answer please mark me as brainliest

Observe ,which plunger exerts(produces) more force to move the object between plunger B filled with air and plunger B filled with water?

Answers

The plunger filled with water will exert more force to move an object compared to the plunger filled with air.

What is a plunger?

Plunger, force cup, plumber's friend, or plumber's helper are all names for the tool used to unclog pipes and drains. It is composed of a stick (shaft) that is often constructed of wood or plastic and a rubber suction cup.

It should be noted that because water is denser than air, meaning it has a higher mass per unit volume. When the plunger is filled with water, it will have a greater overall mass and will thus be able to transfer more force to the object it is trying to move.

Learn more about water on:

https://brainly.com/question/1313076

#SPJ1

Take two equal syringes, join them with plastic tube and fill them with water as illustrated in the figure

Push the plunger of syringe A (input) and observe the movement of plunger B (output).

(a)

Which plunger moves immediately when pressing plunger A, between plunger B filled with air and plunger B filled with water?

Enter a formula in cell C8 that divides the product of cells C5 through C7 by cell C4.

Answers

Answer: =(C5*C6*C7)/C4

Let's play Silly Sentences!

Enter a name: Grace
Enter an adjective: stinky
Enter an adjective: blue
Enter an adverb: quietly
Enter a food: soup
Enter another food: bananas
Enter a noun: button
Enter a place: Paris
Enter a verb: jump

Grace was planning a dream vacation to Paris.
Grace was especially looking forward to trying the local
cuisine, including stinky soup and bananas.

Grace will have to practice the language quietly to
make it easier to jump with people.

Grace has a long list of sights to see, including the
button museum and the blue park.

Answers

Answer:

Grace sat quietly in a stinky stadium with her blue jacket

Grace jumped on a plane to Paris.

Grace ate bananas, apples, and guavas quietly while she listened to the news.

Grace is the name of a major character in my favorite novel

Grace was looking so beautiful as she walked to the podium majestically.

Grace looked on angrily at the blue-faced policeman who blocked her way.

Other Questions
star cluster a has o and b main sequence stars, while cluster b only has g spectral type and cooler main sequence stars. which cluster is younger? There were thrice as many beads in box x as box y. after ben transferred 80 beads from box x to box y, there were 64 more beads in box x than box y. how many beads were there in box x and box y at first respectively? What is conservation, which was promoted by president Teddy Roosevelt? Which progressive goal does it most reflect? Describe the "peanut butter"experiment. What does the result tell us about the relation between task demands and attention? Laggards make up roughly ______ of the market. Multiple choice question.A) 16% B)5% C) 10% D) 20%. You can define a condition with a list of two or more values for a field by using the ____ comparison operator. Many American firms that sold oil-refining technology to firms in the Gulf now find with these firms in the world oil market. This is an example of: A. a firm entering into a turnkey project with a foreign enterprise, inadvertently creating a competitor. B. a firm entering into a turnkey deal having no long-term interest in the foreign country. C. a country subsequently proving to be a major market for the output of the process that has been exported. D. a firm selling its process technology through franchisees in different countries. Carla applied a force of 35 N to a wheelbarrow full of bricks and moved it 2.5 m. Which of the following can be determined from this information? Plasma proteins decrease in a person with liver failure. What effect does this have on capillary exchange A piece of silver is heated and added to a styrofoam cup calorimeter containing 26.0 mL (the density of water is 1 g/mL) of water at 19 oC. The water reaches a maximum temperature of 44 oC after the metal was added. If the specific heat of the silver is 0.240 J/g oC and it started at 93.8 oC what date did george washington get married 1. How will the IoT change the current e-commerce business model? 2. What are the advantages, challenges and limitations of adopting the IoT in e-commerce? 3. What are the factors that affect the widespread, in-depth adoption of the IoT in e-commerce? 4. What business transformations could e-commerce firms undergo to integrate the IoT with existing e-commerce systems and create new business models and competitive advantage? Matona Itd forecasts its total assets to increase to R1.4 million in 2008. Net earnings are forecasted to be R169,100 and the company plans to keep with its policy of paying dividends equal to 35% of its earnings. To help fund the increase in assets, accounts payable are expected to increase by R35.000, accruals will increase by R2.500 and the firm's line of credit will increase by R150,000. To fund the expansion, the firm expects to require external financing of R27,000. Using the above information, what was the value of the firm's total assets in 2007? A circular hoop of massm, radiusr, and infinitesimal thickness rolls without slipping down a ramp inclined at an angle with the horizontal.A. What is the accelerationof the center of the hoop?B. What is the minimum coefficient of (static) frictionminminneeded for the hoop to roll without slipping? Which treaty got its name from the machine that manufactures them. the slide part of a water slide is 89 feet long and makes a 49 degree angle of elevation with the ground. how high up in the air do you start your ride What method can you use to find the area of the composite figure? Select three options.A large rectangle. A smaller rectangle is connected on the right side.Decompose the figure into two rectangles and add the areas.Decompose the figure into three rectangles and add the areas.Extend the top and rightmost sides to make a larger rectangle, find its area, and then subtract the area of the removed corner. Decompose the figure into two rectangles, find their sum, and then add the area of the removed corner.Decompose the figure into two rectangles, find their sum, and then subtract the area of the removed corner. Why do you think these types of people believed in a strong central government and opposed a Bill of Rights? Explain your answer. Select all of the transformations that preserve distance and angle measures The circumference of a circular garden is 62.8 feet. What is the diameter of the garden? Use 3.14 for I and do nI feet