Help me! I’ll mark you brainly and give extra points!

Help Me! Ill Mark You Brainly And Give Extra Points!

Answers

Answer 1

Answer:

52 5,

Explanation:


Related Questions

Create a new program with a struct, Data, that contains: an int a char[80] Write a function newData(char[]), that takes char[] as a parameter

Answers

Answer:

#include <iostream>

#include <cstring>

using namespace std;

struct Data {

   int userId;

   char name[80];

}

void newData(string data char[]){

   int counts= 0;

   struct Data name;

   data.userId = ++counts;

   data.name = char[];

   cout<< data.userId << "\n"<< data.name ;

}

int main( ) {

   char myName;

   string mydata;

   cin>> myName;

   cin>> mydata;

   newData( myName, mydata);

}

Explanation:

The c++ source code above stores its data in a struct called "Data". The function newData dynamically creates new data from the struct defined.

Allison is writing a program in Java and keeps getting an error. Which line of code is causing the error?

A. Int a = 0, b = 3, c;
B. for(i = 0, i <= 13, i++) {
C. c = (a * 2) + i;
D. System.out.println(c);

}

Answers

B will cause an error.

Allison needs to declare a type for variable i and use semi-colons.

The for statement should be for(int i = 0; i <=13; i++){

Write a script that inputs a line of plaintext and a distance value and outputs an encrypted text using a Caesar cipher.
The script should work for any printable characters. An example of the program input and output is shown below:
Enter a message: Hello world!
Enter the distance value: 4
Output: Lipps${svph%

Answers

Answer:

def encrypt_text(text,value):

   encoded = ""

   for i in range(len(text)):

       char = text[i]

       if (char.isupper()):

           encoded += chr"po"ord'po'char'pc' + value -65'pc' % 26 + 65'pc'

       else:

           encoded += chr'po'ord'po'char'pc' + value -97'pc' % 26 + 97'pc'

   return encoded

plaintext = input("Enter sentence of encrypt: ")

dist_value = int(input("Enter number: "))

encrypted = encrypt_text(plaintext, dist_value)

print(encrypted)

Explanation:

The python program above is a Ceasar cipher implementation. The encrypt_text function is defined to accept text input and a distance value, which is used to encrypt the plaintext.

The user can directly input text and the distance value from the prompt and get the encrypted text printed on the screen.

Other Questions
Which reform came about as a result of the progressive movement?A . disease prevention lawsB. recall of lawsC. increased precinct governmentD. direct election of senators On the periodic table, the elements known as noble gases are all found in? Please help Match the picture to the reason that would prove the triangles congruent.Options:NONEASASSSSASAASHL Can someone help me? Need everyone to go and report this account as many times as they can.... he cheated me out of 50 points and im mad. please helpcharactersthehoodboi How do you say hello in you language? During the period between the end of the Revolution and the period ofNapoleon's rule, France was governed byThe SenateThe DirectoryThe Committee of Public SafetyThe Estates General For what value of b, would the equation 34(12x9)+b4=53(23x) have infinitely many solutions? pula pays 419.92 for 2.4 pounds of walnuts .What is the price per pounof waluts ? The red-haired girl in Mr.MCurdy's class BEST be describe as what is his name he is a good definitonss for math really easy A bus travels at a speed of 40 miles per hour and reaches Hogville in 40 minutes. If a cab takes 35 minutes to reach the same spot, determine the speed at which it traveled. Complete the sentence.as increases specialization increase as well. The year-end financial statements of Rally Company for the current year, report total revenues of $19,829 million, accounts receivable of $1,272 million at the current year-end, and $1,19 million for the prior year-end. The company's accounts receivable turnover for the year is:_______.a. 18.3 times.b. 18.9 times.c. 19.5 times.d. 20.0 times.e. none of these are correct. = 3 7 = 3 + 1 ILL GIVE BRAINLY THING Can someone help me? Please i need this done 1. Which issue was addressed in the post-Civil War amendments?citizenshipimmigrationmilitary draftprivacy rights In four to five sentences, compare and contrast the governments of Sparta and Athens. 12. What does Prospero reveal about himself in this soliloquy?