Skip to content

TC1017 Fall 2017

Solving Problems with Programming

  • Page One
  • Mastery Topics
  • WSQ
  • Evaluation
  • Contact
  • Policies
    • Privacy Policy
    • Comment Policy
  • Register Blog
  • Glossary
  • Tools

Tag: #Quiz

Quiz 3 – countChars

--Originally published at BRENDA

Here is how I solved the quiz that counts a specific character in a sentence.

I created this function that counts characters:

int countChars (string s, int character) {
int count=0;
for (int i = 0; i<s.length(); i++) {
if (s[i]==character) {
count++;
}
}

Here is my code:

https://github.com/brendaruizt/TC1017/blob/master/quiz3.cpp

quiz3.PNG


Posted on October 24, 2017 by brendaruiztPosted in Blogs, SyndicatedTagged #Quiz, #WSQ00

Your Posts

  • Día 1. (07/Dic/18) damianrodriguezc
  • Course Review #TC1017 lourdesmnz
  • IDE damianrodriguezc
  • Review for this course ehnosexd
  • Review aitor245

WSQs

  • WSQ13 – SciLab
  • WSQ12 – Estimating e
  • WSQ11 – Go Bananas
  • WSQ10 – Babylonian Method
  • WSQ09 – Multipart Data and Files

Tag Cloud

#Almost done #Banana #Helloworld #I need sleep #kenbauer #Project #python #relatedpost #TC1017 #Tec #We are doomed #WSQ00 #WSQ02 #WSQ04 #WSQ05 #WSQ06 #WSQ08 #WSQ09 #WSQ10 #WSQ11 #WSQ12 #WSQ13 Allgemein Atom August-December 2017 Cute Doggo FACTORIAL finalproject Functions GAME MASTERTOPIC10 MASTERTOPIC19 masterytopic18 PROGRAMMING Proyecto Random Sin categoría TC1017 (Python3) TC1017 (Solutions to Problems with Programming) Uncategorised Uncategorized WSQ WSQ01 wsq03 wsq07

Title Image Credit

Matt Wildbore
Proudly powered by WordPress Theme: Colinear by Automattic.
css.php