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
ASHA 777 [7]
3 years ago
10

2.2 Write an interactive C# program that asks the user to input an integer number. The program checks whether the number entered

by the user is divisible by 2 and 3, by 2 or 3, and by 2 or 3 but not both. Sample runs follow
​

Computers and Technology
1 answer:
AlexFokin [52]3 years ago
6 0

Answer:

I need some time i answering your question please follow me and thanks

You might be interested in
Compare and contrast between first and second generation of computer<br>​
noname [10]
Frist gen of computers took forever to load and would crash if someone els in the house picked up the phone now adays are computers are in our pockets. There our phones and they rarely if ever crash
8 0
3 years ago
Write a program to print sum on first 10 natural numbers.
Kamila [148]

sum of 10 natural number is 55

4 0
3 years ago
You are testing a web application for sql injection vulnerabilities. you send various sql statements which return results on the
tekilochka [14]

This sounds like a brute-force attempt.

8 0
4 years ago
What protects original and creative expression of an idea?
alukav5142 [94]
A patent grants the right to sell an invention and claim it as your own
6 0
4 years ago
Read 2 more answers
Write a Perl program to accomplish each of the following on the file solar.txt (see link at the class homepage) 1. Print all rec
ryzh [129]

Answer:

see explaination

Explanation:

use strict;

use warnings;

my $filename = 'data.txt';

open(my $fh, '<:encoding(UTF-8)', $filename)

or die "Could not open file '$filename' $!";

while (my $row = <$fh>) { //Q1

chomp $row;

atfields = split(/:/, $row);

if($fields[7] eq "?" || $fields[7] eq NULL)

print "$row\n";

}

while (my $row = <$fh>) { //Q2

chomp $row;

atfields = split(/:/, $row);

print '$fields: ' , replace($fields[1],"",$fields[1]) , "\n";}

}

while (my $row = <$fh>) { //Q3

chomp $row;

atfields = split(/:/, $row);

if (index($fields[2], "-") != -1) { //Looking out for negative sign in the field

print "$row\n";

}

while (my $row = <$fh>) { //Q4

chomp $row;

atfields = split(/:/, $row);

if($fields[7] eq "Voyager2")

print "$row\n";

}

Note: replace at anywhere in the program with the at symbol

8 0
3 years ago
Other questions:
  • In ipv4 addressing, an ip address whose first octet is in the range of 192–223 belongs to a class ____ network.
    15·1 answer
  • Which letters appear in the home row on a keyboard?
    14·2 answers
  • What is the value of vals[4][1]? double[][] vals = {{1.1, 1.3, 1.5}, {3.1, 3.3, 3.5}, {5.1, 5.3, 5.5}, {7.1, 7.3, 7.5}};
    6·1 answer
  • Driving is expensive. Write a program with a car's miles/gallon and gas dollars/gallon (both doubles) as input, and output the g
    9·2 answers
  • Technology offers a variety of rich opportunities available to teachers and students. According to Inan and Lowther (2010), ther
    6·1 answer
  • What is technology??
    12·1 answer
  • The space where text and content is entered and positioned for onscreen reading or printing
    8·1 answer
  • Describe the necessary Java commands to create a Java program for creating a lottery program using arrays and methods.
    9·2 answers
  • Lucy wants to access the webpage. She is using her computer to access the webpage. What types of information will be in one fram
    11·1 answer
  • "a web client that connects to a web server, which is in turn connected to a bi application server, is reflective of a"
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!