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
vaieri [72.5K]
3 years ago
5

Have you ever tried using such a camera?​

Computers and Technology
1 answer:
guapka [62]3 years ago
7 0

Answer: yeah i mean i use my canon camera

Explanation:

You might be interested in
A runtime error is usually the result of:
harina [27]
It is the Logical error/
so ur answer is logical error
8 0
3 years ago
Write a function that takes as input an English sentence (a string) and prints the total number of vowels and the total number o
antoniya [11.8K]

Answer:

   public static void vowelCount(String word){

       int vowelCount =0;

       int consonantCount =0;

       int wordLen = word.length();

       //a,e,i,o,u

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

           if(word.charAt(i)=='a'||word.charAt(i)=='e'||word.charAt(i)=='i'

                   ||word.charAt(i)=='o'||word.charAt(i)=='u'){

               vowelCount++;

           }

       }

       System.out.println("Number of Vowels: "+vowelCount);

       System.out.println("Number of Consonants: "+ (wordLen-vowelCount));

   }

Explanation:

The method vowelCount is implemented in Java

Receives a string as argument

Uses a for loop to iterate the entire string

Uses an if statement to check for vowels

Substract total vowels from the length of the string to get the consonants

See complete code with a main method below:

import java.util.Scanner;

<em>public class num2 {</em>

<em>    public static void main(String[] args) {</em>

<em>    Scanner in = new Scanner(System.in);</em>

<em>        System.out.println("Enter a String");</em>

<em>        String word = in.nextLine();</em>

<em>        //Removing all special characters and whitespaces</em>

<em>        String cleanWord = word.replaceAll("[^a-zA-Z0-9]", "");</em>

<em>//Calling the Method        </em>

<em>vowelCount(cleanWord);</em>

<em>    }</em>

<em>//The method</em>

<em>    public static void vowelCount(String word){</em>

<em>        int vowelCount =0;</em>

<em>        int consonantCount =0;</em>

<em>        int wordLen = word.length();</em>

<em>        //a,e,i,o,u</em>

<em>        for(int i=0; i<word.length(); i++){</em>

<em>            if(word.charAt(i)=='a'||word.charAt(i)=='e'||word.charAt(i)=='i'</em>

<em>                    ||word.charAt(i)=='o'||word.charAt(i)=='u'){</em>

<em>                vowelCount++;</em>

<em>            }</em>

<em>        }</em>

<em>        System.out.println("Number of Vowels: "+vowelCount);</em>

<em>        System.out.println("Number of Consonants: "+ (wordLen-vowelCount));</em>

<em>    }</em>

<em>}</em>

3 0
3 years ago
You can select slide objects in order to delete them simultaneously by pressing the _____ key as you click each object. select o
HACTEHA [7]
D tab that is the key you would need to use in order to do that
6 0
3 years ago
Read 2 more answers
5. How should you use LinkedIn Answers as a professional?
harkovskaia [24]

The LinkedIn Answers is a component of LinkedIn that allows you to get fast and accurate solutions to your questions. It provides a forum through which you can demonstrate your expertise by offering info to your network. You should use LinkedIn answers to ask and answer questions. Essentially, you should use it to provide examples to your work product, decision making skills, and on an interactive basis.






5 0
3 years ago
Writing a modular program in visual c++. I am new to this and not sure what I am missing. I am getting the following error:
stich3 [128]

Answer:

#include <iostream>

bool validateDate(int, int, int);

using namespace std;

int main()

{

int year;

int month;

int day;

const int MIN_YEAR = 0, MIN_MONTH = 1, MAX_MONTH = 12, MIN_DAY = 1, MAX_DAY = 31;

bool validDate = true;

   cout<<"Enter the year"<<endl;

   cin>>year;

   cout<<"Enter the month"<<endl;

   cin>>month;

   cout<<"Enter the day"<<endl;

   cin>>day;

if(year <= MIN_YEAR) // invalid year

    validDate = false;

else if (month < MIN_MONTH || month > MAX_MONTH) // invalid month

    validDate = false;

else if (day < MIN_DAY || day > MAX_DAY) // invalid day

    validDate = false;

if(validDate == true)

{

    // Output statement

    cout<<month<<"/"<<day<<"/"<<year<<"is a valid date"<<endl;

}

else

{

    // Output statement

    cout<<month<<"/"<<day<<"/"<<year<<" is an invalid date"<<endl;

}

}

Explanation:

  • Declare variables and take the date as input from user .
  • Inside the main function, check if year is valid using the conditional statements.
  • Check if date is valid and then output that accordingly.
7 0
3 years ago
Other questions:
  • When you schedule an appointment, Outlook adds the appointment to the ____ folder by default.
    10·1 answer
  • List 5 major steps to make a bank deposit
    6·1 answer
  • Write a python program that asks the user to enter a student's name and 8 numeric tests scores (out of 100 for each test). The n
    5·1 answer
  • A computer professional who has access to sensitive information shares this information with a third party. Which professional c
    11·1 answer
  • Amanda needs to create an informative print brochure for her local library’s fundraiser dinner. What critical detail must she ha
    9·1 answer
  • Effective presentations must have _____.
    14·2 answers
  • Que medios se utilizan para respaldar información?
    8·1 answer
  • Which of the following processes demonstrates that matter is made up of minute particles? (A) Difussion (B) Capillarity (C) Dist
    15·1 answer
  • If you want to clear an operating system's temporary files for storage, performance, or privacy reasons, you should run a disk _
    14·1 answer
  • In the __________ phase of the SecSDLC, the team studies documents and looks at relevant legal issues that could affect the desi
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!