import java.util.Scanner;
public class JavaApplication45 {
public static String replaceLetter(String txt, String txt1, String txt2 ){
char one = txt1.charAt(0);
char two = txt2.charAt(0);
String newTxt = "";
for (int i = 0; i < txt.length(); i++){
char c = txt.charAt(i);
if (c == one){
newTxt += two;
}
else{
newTxt += c;
}
}
return newTxt;
}
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
System.out.println("Enter your word:");
String word = scan.nextLine();
System.out.println("Enter the letter you want to replace:");
String txt1 = scan.next();
System.out.println("Enter the replacing letter:");
String txt2 = scan.next();
System.out.println(replaceLetter(word,txt1,txt2));
}
}
I hope this helps!
If you're driving a car and know there's a motorcyclist around you, you should______. A. Not change your driving B. Check your blind spots frequently C. Remind them to wear a helmet D. Make wider turns than normal
b check your blind spots frequently i guess not sure
Select the correct answer from the drop-down menu.
Chrissie shirks the additional work given to her.
She lacks the trait of
Answer:
Responsibility
Explanation:
Which of the following expressions shows the correct amount of sales tax for the computer at Store A? Select all that apply.
6%($1,200)
0.6($1,200)
0.06($1,200)
One-sixth($1,200)
StartFraction 3 over 50 EndFraction($1,200)
Answer:
6%($1,200) 0.06($1,200) 3/50($1,200)
Explanation:
hope this helps sorry if i am wrong
have a nice day
Answer:
a,c,e
Explanation:
it just makes sense U^U
Any application that wants to be displayed on the web must use the HTTP protocol
True
False
Answer:
true
Explanation:
how to take a pic with a cumputer
Answer:
Ctrl+Shift+4
Explanation:
Answer:
Use Snip+Sketch on your taskbar
It looks like this~
Stay at least _____ behind the vehicle ahead of you at all times.
A. 3 seconds
B. 4 seconds
C. 3 car lengths
D. 4 car lengths
Answer:
B 4 seconds
Explanation:
You should stay 4 seconds away from a vehicle at all times at the same speed as the other vehicle or vehicles.
CSS is a language that controls the way content on a web site appears. It uses_______ _____to
change the look of a page.
Answer:
I'm not sure what the answers are, but when someone is making a website from scratch, they tend to use CSS HTML and JS(javascript)
hope i helped ;)
Seneca has just applied conditional formatting and realizes that she has made a mistake. Which action should she take to fix the mistake?
A) Clear the rule she created by going to the Conditional Formatting Rules Manager dialog box and deleting the rule.
B) Clear all rules that have been applied to the worksheet or selected range by clicking the Clear Rules button.
C) Use the Undo button or Ctrl+Z.
D) Right-click the area where the conditional formatting rule has been applied, and select Clear Rule from the menu list.
Answer:
its b
Explanation:
on edg
Answer:
b
Explanation:
Which component in a CPU is responsible for transferring
data from one functional component to another?
Who you think is better? Ninja or TFue ,btw do you know who icebear is?
Answer:
no, no i dont think i will.
Explanation:
What does it mean to be proactive about internet safety?
Spending as little time online as possible to reduce the risk of problems.
Predicting problems before they happen so you can avoid them.
Finding the best way to solve a current problem so you can use it later.
Facing up to the consequences of your mistakes so you can learn from them.
Answer:
Predicting problems before they happen so you can avoid them.
Explanation:
You should avoid causing trouble, or partaking in it. Being safe on the internet helps reduce bullying, threats, depressing behavior, etc.
¿En cuales situaciones concretas se puede aplicar las técnicas de conteo(particularmente las permutuaciones y las combinaciones) dentro de la informática?
Answer:
In which specific situations can counting techniques (particularly permutuations and combinations) be applied within computer science? for anybody trying to help
What are the characteristics of calendar sharing options in Outlook 2016? Check all that apply.
Answer:
a,b,c,e
Explanation:
Answer:
Quit your bickering in the replies on the other answer, this is correct.
Explanation:
Which of the following is true of functions? * 2 points A. Programs written with functions run more quickly B. Functions can help remove repeated code from a program C. Replacing repeated code with a function will reduce the number of commands the computer needs to run D. Functions are called once but can be declared many times
Answer:
I’m sure if I remember that this is “B.”
Explanation:
I have taken computer science class before so I remembered!
The option that is true of functions is B. Functions can help remove repeated code from a program.
It should be noted that the fact that programs are written with functions doesn't mean that they will run quickly.
Functions can help remove repeated code from a program. Also, replacing repeated code with a function doesn't reduce the number of commands the computer needs to run.
Read related link on:
https://brainly.com/question/17691320
A collection of computers, printers, routers, switches, and other devices
that can communicate with each other over some transmission medium
O network
O host part
subnet part
subnet
ermano envia foto de lo que necesitas yo te ayudo
Umm, my computer is being rlly wierd and not letting me give brainliest to someone, anybody know what to do???
Answer:
just restart it and when the computer is done restarting then repeat the process once more. This is what i did and it made a huge difference.
Explanation:
This resets the main hard drive and the reboots the system entirely. It helps clear out bugs and fixes any and all small issues.
Which term means an unsecure protocol used when remotely accessing a computer?
Transmission Control Protocol (TCP)
Secure Shell (SSH)
Telnet
Internet Protocol (IP)
Answer:
9Internet Protocol (IP)
Answer:
The answer is Secure Shell (SSH)
Jon wants to set up a trihomed DMZ. Which is the best method to do so? A. use dual firewalls B. use a single firewall with only two interfaces C. use a single three-legged firewall with three interfaces D. use dual firewalls with three interfaces
Answer:
The correct option is C) Use a single three-legged firewall with three interfaces
Explanation:
DMZ is an acronym for a demilitarized zone.
A DMZ network is one is situated between the internal network and the Internet. It is supported by an Internet Security and Acceleration (ISA) server.
The interfaces you'd get with the DMZ network are
A public network (Internet Protocol-IP) address with a public interfaceAn internal network interface with a private network (IP) address A DMZ interface with a public network (IP) addressUnlike the back-to-back DMZ settings, a trihomed DMZ is unable to use private IP addresses. To use the trihomed DMZ, public IP addresses are a must suitable requirement.
Cheers!
Identify an advantage of writing HTML code manually.
You do not have to learn HTML.
You can figure out how the markup affects the function of the site.
You can see rendered HTML as you go.
Answer:
1. You retain 100% control over your site and where it is hosted
2. Free WYSIWYG sites aren’t really free
3. You make yourself seem irrelevant to clients
4. You understand your own code
5. Your own code is nearly always more efficient
6. Your own code is more secure
7. It’s easier to iterate your own code
8. Your own code is original
9. Writing your own code helps you grow as a developer
Explanation:
You can choose the points you want. let me know if you need any further information.☺️
Please rate if you happy
Brailliest if you want
Answer:
B. You can figure out how the markup affects the function of the site.
Explanation:
its the correct answer :)
"prevention is better than cure" Justify this statment.
Answer:
Hope
you like it and helpful
In a science study group, Leonardo explains how atoms make up molecules. Talia repeats what Leonardo says in her own words. How is Talia practicing active listening? She is reflecting on what has been said. She is politely disagreeing with Leonardo. She is asking Leonardo a lot of questions. She is focused on only important information.
Answer:
A she is reflecting on what leonardo said but in her own words
Explanation:
Answer:
A: She is reflecting on what has been said.
Explanation:
Edge 2020
Need answer Asap!!!! Which file type is the best choice if the image will be made into a billboard?
Answer:
A .psd file
Explanation:
Adobe photoshop files are always going to be same and there is no compression. Even better .ai files are saved into equations so you can't alter or dumb it down.
WHERE DO I GO TO DO THIS AND WHAT DO I WRITE?????
Write a pseudocode plan for your program.
Write the code for your program.
Test your program. Run it at least three times with different inputs.
Save your program as a .txt file for you cannot upload a .py file.
Evaluate your project using this rubric.
What to Submit
Submit the .txt file holding your program.
You can just look up "python ide online" on google and paste this code:
n = -1
count = 0
while n < 0:
n = int(input("We're checking to see if a number is prime or not! Enter a positive number: "))
if n % 2 == 0:
if n == 2:
print("{} is a prime number".format(n))
else:
print("{} is not a prime number".format(n))
else:
for x in range(n, 1, -1):
if n % x == 0:
count += 1
if count > 1 or n == 1:
print("{} is not a prime number".format(n))
else:
print("{} is a prime number".format(n))
I've written some code that checks to see if a number entered by the user is a prime number or not.
Sorry, but I'm not too good with pseudocode plans and all that. I hope this helps.
Answer:
import math
print("Let's solve ax² + bx + c = 0")
a = int(float(input('Enter a value for a: ')))
b = int(float(input('Enter a value for b: ')))
c = int(float(input('Enter a value for c: ')))
D = b*b-4*a*c
if (D<0):
print("Sorry, this equation has no solutions.")
elif (a == 0):
if (b == 0):
if (c == 0):
print("Every value of x is a solution")
else:
print("Sorry, this equation has no solutions")
else:
x = -c/b
print("The one solution is x={:.3g}".format(x))
elif (D==0):
x = (-b + math.sqrt(D)) / (2*a)
print("The one solution is x={:.3g}".format(x))
else:
x1 = (-b + math.sqrt(D)) / (2*a)
x2 = (-b - math.sqrt(D)) / (2*a)
print("This equation has two solutions: x={:.3g} or x={:.3g}".format(x1, x2))
Explanation:
Above is another little program to use the quadratic formula.
Select all the lines that have a slope of 5/2
Answer:
Add a picture, then ask the question again.
The Quick Access tool bar allows you to customize the actions or commands you frequently use.
True
False
I need help pleaseeee
Answer:
The Answer is C. Hope you get it right, Good Luck!!!
Answer:
The answer is B
Explanation:
To create a list, paragraph, or unordered list, you should use HTML code, whereas in CSS coding, you can change the overall font size of a tag using the font-size=(number) tag.
Question 5 of 25
Critics argue that socializing online:
O A. makes us socially savvy and aware.
B. limits the number of posts we read.
C. dilutes the quality of our relationships.
O D. decreases a user's popularity.
Answer: d
Explanation; Hopes this helps!!
Critics argue that socializing online dilutes the quality of our relationships. Thus, option C is correct.
What is socializing online?Online socializing refers to the exchange of information between individuals or groups that uses social media platforms to access and alter material including photos, status updates, music, videos, and more.
Socialization on the Internet describes how individuals communicate and the tools they employ to do so. Socialization refers to a culture's peculiar practices, dialect, and language.
They can increase understanding of already-held interests while introducing young people to new concepts and ideas. Additionally, by assisting users in learning about various cultures' ways of life and thinking, they can help users widen their perspectives.
Online socializing, according to critics, degrades the caliber of our connections. Option C is correct as a result.
Learn more about online here:
https://brainly.com/question/19546714
#SPJ5
Justify the use of an e-diary in the organisation of the meeting.
Answer:
It can be used to easily organize stuff
Explanation: It can be easily used to organize meetings & write important stuff, and you will also never run out of pages, which is better than having no diary.
The complete process for learning through repetition is to read, write, say, rest and revisit the information. Please select the best answer from the choices provided T F
Answer:
True.
Explanation:
The complete process for learning through repetition is to read, write, say, rest and revisit the information.
This ultimately implies that, when an individual indulge in learning through repetition, he or she would is strengthening the single memory trace and as such enhancing the learning process.
Hence, learning through repetition such as reading, writing, saying, resting and revisiting the information is very effective because it engages and activates the visual, auditory, tactile and kinesthetic neural pathways to the brain.
Additionally, it is advisable to wait for about ten (10) minutes in between the repetition process when learning through repetition.
Answer:
True
Explanation:
Just took the quiz.
HELP!!!!!
Your colleague has made a suggested change to an important document you are both working on. You disagree with their suggested change. They will be reviewing the changes you make before the final version of the document is submitted to your boss. You both work remotely and are in radically different time zones. What is the best step to take next?